Skip to content

sf1.coe.muc.redhat.com / Check expired date of certificate #418

Closed

Description

@rbo
--SERVICE-ALERT-------------------
-
- Hostaddress: 10.32.96.61
- Hostname:    [sf1.coe.muc.redhat.com](http://sf1.coe.muc.redhat.com/)
- Service:     Check expired date of certificate
- - - - - - - - - - - - - - - - -
- State:       WARNING
- Date:        2026-10-04 14:17:22 (Duration: 0d 0h 0m 0s)
- Output:      WARNING - Certificate '[sf1.coe.muc.redhat.com](http://sf1.coe.muc.redhat.com/)' expires in 25 day(s) (Fri 30 Oct 2026 12:02:20 PM GMT +0000).

----------------------------------

Activity

  1. self-assigned this
    on Oct 5, 2026
  2. rbo commented on Oct 5, 2026

    @rbo
    MemberAuthor
  3. rbo commented on Oct 5, 2026

    @rbo
    MemberAuthor
    [root@sf1 ~]# ls -la cert-issue-418-2026-10-05/
    total 36
    drwxr-xr-x.  2 root root  136 Oct  5 11:13 .
    dr-xr-x---. 11 root root 4096 Oct  5 11:13 ..
    -rw-r--r--.  1 root root 4225 Oct  5 11:12 cert_and_intermediate.pem
    -rw-r--r--.  1 root root 3243 Oct  5 11:12 cert-key.pem
    -rw-r--r--.  1 root root 2114 Oct  5 11:12 cert.pem
    -rw-r--r--.  1 root root 6530 Oct  5 11:12 cert.pkcs7
    -rw-r--r--.  1 root root 2110 Oct  5 11:12 intermediate.pem
    -rw-r--r--.  1 root root 2296 Oct  5 11:12 root_ca.pem
    [root@sf1 ~]# cd cert-issue-418-2026-10-05/
    [root@sf1 cert-issue-418-2026-10-05]# openssl crl2pkcs7 -nocrl -certfile root_ca.pem  | openssl pkcs7 -print_certs  -noout
    subject=C=US, ST=North Carolina, L=Raleigh, O=Red Hat, Inc., OU=Red Hat IT, CN=Internal Root CA, emailAddress=infosec@redhat.com
    issuer=C=US, ST=North Carolina, L=Raleigh, O=Red Hat, Inc., OU=Red Hat IT, CN=Internal Root CA, emailAddress=infosec@redhat.com
    [root@sf1 cert-issue-418-2026-10-05]# ipa-cacert-manage list
    COE.MUC.REDHAT.COM IPA CA  1
    E=infosec@redhat.com,CN=Internal Root CA,OU=Red Hat IT,O=Red Hat\, Inc.,L=Raleigh,ST=North Carolina,C=US  138009645148
    CN=2023 Certificate Authority RHCSv2,OU=prod,O=Red Hat  138009645150
    The ipa-cacert-manage command was successful
    [root@sf1 cert-issue-418-2026-10-05]#
    [root@sf1 cert-issue-418-2026-10-05]# ipa-server-certinstall -w cert-key.pem cert.pem
    Directory Manager password:
    
    Enter private key unlock password:
    
    
    Please restart ipa services after installing certificate (ipactl restart)
    The ipa-server-certinstall command was successful
    [root@sf1 cert-issue-418-2026-10-05]# ipactl restart
    Restarting Directory Service
    Restarting krb5kdc Service
    Restarting kadmin Service
    Restarting named Service
    Restarting httpd Service
    Restarting ipa-custodia Service
    Restarting pki-tomcatd Service
    Restarting ipa-otpd Service
    Restarting ipa-dnskeysyncd Service
    ipa: INFO: The ipactl command was successful
    [root@sf1 cert-issue-418-2026-10-05]#
    

    HTTP / IPA ✅

    Next step cockbit

  4. rbo commented on Oct 5, 2026

    @rbo
    MemberAuthor
    [root@sf1 cert-issue-418-2026-10-05]# cp -v cert-key.pem  /etc/cockpit/ws-certs.d/99-sf1.key
    cp: overwrite '/etc/cockpit/ws-certs.d/99-sf1.key'? y
    'cert-key.pem' -> '/etc/cockpit/ws-certs.d/99-sf1.key'
    [root@sf1 cert-issue-418-2026-10-05]# cp -v cert_and_intermediate.pem /etc/cockpit/ws-certs.d/99-sf1.cert
    cp: overwrite '/etc/cockpit/ws-certs.d/99-sf1.cert'? y
    'cert_and_intermediate.pem' -> '/etc/cockpit/ws-certs.d/99-sf1.cert'
    [root@sf1 cert-issue-418-2026-10-05]# systemctl restart cockpit
    [root@sf1 cert-issue-418-2026-10-05]#
    

    Cockpit ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions