Issue #926
closed
default value of server_name config is inconsistent between systems
- Priority changed from Normal to High
- Triaged changed from No to Yes
- Tags Easy Fix added
Fix in 2.6 if applicable.
This should be done in a Y release and a release note added that certificates may need to be regenerated to use a FQDN and any pulp-admin clients should adjust their admin.conf to use the FQDN.
After some discussion, the change to pulp-gen-ca-certificate should not present any backwards compatibility issues because its a self-signed CA cert. It's also not used to sign the httpd certs.
On 05/04/2015 03:04 PM, Pulp wrote:
This should be done in a Y release and a release note added that
certificates may need to be regenerated to use a FQDN.
Alternatively, users who are affected should be able to configure
admin.conf to use the hostname that they had been using before to avoid
regenerating the SSL certificates. This may be worth mentioning in the
release notes as well.
- Status changed from NEW to ASSIGNED
- Platform Release set to 2.7.0
- Assignee set to dkliban@redhat.com
- Status changed from ASSIGNED to MODIFIED
- % Done changed from 0 to 100
- Status changed from MODIFIED to 5
There is not currently a good way to see what the default hostname is set to. However, if you modify the client config (/etc/pulp/admin/admin.conf) and set 'host' in 'server' section to 'localhost' then you will get a mismatch between the hostname in the CA and the host that the client is trying to connect to. So then when you attempt to login using pulp-admin you will get a message similar to
The server hostname configured on the client did not match the name found in the
server's SSL certificate. The client attempted to connect to [localhost] but the
server returned [dev.example.com] as its hostname. The expected hostname can be changed in
the client configuration file.
The server should always return the same thing as the output of following command:
hostname -f
This should be tested on multiple operating systems.
- Status changed from 5 to ASSIGNED
- Platform Release changed from 2.7.0 to 2.7.1
- Platform Release changed from 2.7.1 to 2.7.2
- Status changed from ASSIGNED to NEW
- Assignee deleted (
dkliban@redhat.com)
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Also available in: Atom
PDF
Set server_name to FQDN for default server config
The server_name and the CN in certificates generated by pulp-gen-ca-certificate is the fully qualified domain name (FQDN).
https://pulp.plan.io/issues/926
fixes #926
More docs