The issue is in 'pki-server cert-fix' command. Looking back, it seems the use of os.environ['HOSTNAME'] began in commit 59088d1e225ef3b5db451dbd1d214463e0612b8f. (The code now lives in base/server/python/pki/server/init.py). The client needs to use the proper hostname to talk TLS to Dogtag, but the HOSTNAME env var is not a reliable way to get it.
HOSTNAME
There's also a need to improve the error reporting from the 'pki-server cert-fix' command - to get a traceback instead of the rather cryptic 'HOSTNAME' message.
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/3220
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.