Problem:
initially, a self-signed ssl certificate was installed on the server. Now there is a need to change it to an organization certificate. To do this, I requested an intermediate CA from my organization, issued a katello certificate, signing it with an intermediate certificate. The problem is that when passing the check, an error is detected in one of the items
[root@foreman]# katello-certs-check -c katello.crt -k frmkey.pem -b frmCA.cer
Checking server certificate encoding:
[OK]
Checking expiration of certificate:
[OK]
Checking expiration of CA bundle:
[OK]
Checking if server certificate has CA:TRUE flag
[OK]
Checking for private key passphrase:
[OK]
Checking to see if the private key matches the certificate:
[OK]
Checking CA bundle against the certificate file:
[FAIL]
The /opt/frmCA.cer does not verify the /opt/katello.crt
C = RU, ST = City, L = City, O = home, OU = IT, CN = foreman.my.ru
error 18 at 0 depth lookup: self signed certificate
error /opt/katello.crt: verification failed
Checking CA bundle size: 1
[OK]
Checking Subject Alt Name on certificate
[OK]
Checking if any Subject Alt Name on certificate matches the Subject CN
[OK]
Checking Key Usage extension on certificate for Key Encipherment
[OK]
Checking for use of shortname as CN
[OK]
Expected outcome:
successful completion of verification
Foreman and Proxy versions:
foreman 3.4
Foreman and Proxy plugin versions:
katello 4.6
Distribution and version:
Other relevant data: