Project

General

Profile

Actions

Support #12368

closed

pulp-admin login on capsule causes error 500

Added by Vladimir Stackov about 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description:

When I'm trying to login using pulp-admin on capsule I'm getting error 500.

Reproducibility: 100%

Steps to reproduce:

1. Setup new capsule with pulp
2. Install pulp-admin-client RPM on capsule
3. Add verify_ssl: False to /etc/pulp/admin/admin.conf (to [server] section)
4. Execute
pulp-admin login -u admin
then type password

Actual result:

An internal error occurred on the Pulp server:

RequestException: POST request
on /pulp/api/v2/actions/login/ failed with 500 - error signing cert request:
Signature ok
subject=/CN=admin:admin:5637512e762c2f1072a81bcd
Getting CA Private
Key
CA certificate and CA private key do not
match
140629082322848:error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
unable to
write 'random state'

Expected result:

Successfully logged in. Session certificate will expire at ...

Additional info:

If I'll login using pulp-admin on foreman host and then copy ~/.pulp/user-cert.pem to capsule then everything works as expected (i.e. I can use pulp-admin on capsule without any limitations).

katello-agent-2.3.1-4.el7.noarch
katello-certs-tools-2.3.0-4.el7.noarch
katello-debug-2.3.0-6.el7.noarch
katello-default-ca-1.0-1.noarch
katello-installer-base-2.3.1-6.el7.noarch
katello-selinux-2.2.1-1.el7.noarch
katello-server-ca-1.0-2.noarch
katello-service-2.3.0-6.el7.noarch
pulp-admin-client-2.6.2-1.el7.noarch
pulp-docker-plugins-1.0.1-1.el7.noarch
pulp-katello-0.4-2.el7.noarch
pulp-nodes-child-2.6.2-1.el7.noarch
pulp-nodes-common-2.6.2-1.el7.noarch
pulp-nodes-parent-2.6.2-1.el7.noarch
pulp-puppet-plugins-2.6.2-1.el7.noarch
pulp-rpm-admin-extensions-2.6.2-1.el7.noarch
pulp-rpm-handlers-2.6.2-1.el7.noarch
pulp-rpm-plugins-2.6.2-1.el7.noarch
pulp-selinux-2.6.2-1.el7.noarch
pulp-server-2.6.2-1.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
python-kombu-3.0.24-8.pulp.el7.noarch
python-pulp-agent-lib-2.6.2-1.el7.noarch
python-pulp-bindings-2.6.2-1.el7.noarch
python-pulp-client-lib-2.6.2-1.el7.noarch
python-pulp-common-2.6.2-1.el7.noarch
python-pulp-docker-common-1.0.1-1.el7.noarch
python-pulp-puppet-common-2.6.2-1.el7.noarch
python-pulp-rpm-common-2.6.2-1.el7.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el7.noarch
Actions

Also available in: Atom PDF