Repository navigation
|
i think i am doing something wrong. Then when i make a certificate , the CRL url is http://pki.domain.tld:0/crl/......... why is the :0 there? any1 have any clue what i am doing wrong ? |
Replies: 5 comments 1 reply
|
Thanks for the report, this isn't something you did wrong. I looked into it and found the cause: when the HTTP protocol port is 0 (listener disabled) and the Protocol Base URL has no port, UCM falls back to the listener port and writes Until it's released, you can work around it by setting the Protocol Base URL to |
|
@avdpas one correction and one addition to the answer above. Your existing CAs also need fixing. The CRL, OCSP and AIA URLs are stored on each CA when it is created and copied into every certificate it issues. Changing the Protocol Base URL, or installing the fix from #434, does not update them, so reissuing alone will still produce
The port setting. The HTTP Protocol Port is the port UCM itself listens on, not the one it advertises. The 1024 minimum is intentional: the service does not run as root, so it cannot bind port 80. The usual setup is to leave it at 8080 and point your proxy at that port, with Port 0 also works, but it turns that plain HTTP listener off, so your proxy must then reach these endpoints on UCM's HTTPS port. |
|
first of all let me state that i am amazed on how quickly i got a reply..... completely awesome. I stumbled on to this amazing piece of software when looking for a PKI for my homelab. There are hardly any pieces of software out there that fit a modern homelab where automation and the option for manual creation meet. As well having a proper gui. thanks for this great project! |
|
Following NeySlim's correction above, here is the full fix for your existing setup. The URLs are stored on each CA and copied into its certificates, so besides setting the Protocol Base URL to |
|
Shipped in v2.249, fixed by #434 from @Hemsby. With the HTTP protocol port set to 0 and a Protocol Base URL without a port, CRL, OCSP and AIA URLs now use port 80, and the upgrade corrects the URLs stored on each CA. Certificates issued before the upgrade keep |
Thanks for the report, this isn't something you did wrong. I looked into it and found the cause: when the HTTP protocol port is 0 (listener disabled) and the Protocol Base URL has no port, UCM falls back to the listener port and writes
:0into the CRL/OCSP/AIA URLs. I reproduced it on a test instance and opened a fix in #434, which uses the default port 80 in that case.Until it's released, you can work around it by setting the Protocol Base URL to
http://pki.domain.tld:80. An explicit port is honoured, and:80is left out of the generated URLs, so you gethttp://pki.domain.tld/crl/.... Certificates you already issued will keep the:0, so reissue them after changing it.