Project

General

Profile

Actions

Bug #24574

closed

katello-certs-check not showing full report

Added by Chris Roberts almost 6 years ago. Updated almost 6 years ago.

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

Description

I have created self-sign cert and tried to install it but while checking with katello-certs-check
I found that there are no entries for satellite-installer

As for my Sat 6.2, it shows all the entries for satellite-installer and with capsule-cert-generate.

[root@vm251-153 ~]# katello-certs-check -c root_ca/vm251-153.gsslab.pnq2.redhat.com.crt -k SSL-est/server.key -b root_ca/ca-chain.crt.pem
Checking server certificate's encoding: [OK]
Checking expiration of certificate: [OK]
Checking expiration of CA bundle: [OK]
Checking if server cert has CA:TRUE flag[OK]
Validating the certificate subject= /C=IN/ST=Maharashtra/L=Pune/O=redhat LTD/OU=satellite/emailAddress=root@localhost/CN=vm251-153.gsslab.pnq2.redhat.com
Checking to see if the private key matches the certificate: [OK]
Checking ca bundle against the cert file: [OK]
Checking Subject Alt Name on certificate[OK]
Checking Key Usage extension on certificate for Key Encipherment[OK]

Validation succeeded.
To use them inside a NEW $FOREMAN_PROXY, run this command:
capsule-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY"\
--certs-tar "~/$FOREMAN_PROXY-certs.tar"\
--server-cert "/root/root_ca/vm251-153.gsslab.pnq2.redhat.com.crt"\
--server-key "/root/SSL-est/server.key"\
--server-ca-cert "/root/root_ca/ca-chain.crt.pem"\
To use them inside an EXISTING $FOREMAN_PROXY, run this command INSTEAD:
capsule-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY"\
--certs-tar "~/$FOREMAN_PROXY-certs.tar"\
--server-cert "/root/root_ca/vm251-153.gsslab.pnq2.redhat.com.crt"\
--server-key "/root/SSL-est/server.key"\
--server-ca-cert "/root/root_ca/ca-chain.crt.pem"\
--certs-update-server
Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/669 added
Actions #2

Updated by Chris Roberts almost 6 years ago

  • Status changed from Ready For Testing to Resolved
  • Triaged changed from No to Yes
  • Fixed in Releases Katello 3.8.0 added
Actions #3

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/673 added
Actions

Also available in: Atom PDF