Skip to content

HTTPD Certificates

Endi S. Dewata edited this page Jun 14, 2022 · 1 revision

In IPA environment the HTTPD certificate is stored at /var/lib/ipa/certs/httpd.crt.

To display the HTTPD certificate:

$ openssl x509 -text -noout -in /var/lib/ipa/certs/httpd.crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 9 (0x9)
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: O = EXAMPLE.COM, CN = Certificate Authority
        Validity
            Not Before: Jun 14 18:28:56 2022 GMT
            Not After : Jun 14 18:28:56 2024 GMT
        Subject: O = EXAMPLE.COM, CN = ipa.example.com
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:86:cd:03:df:8d:69:cb:2e:b1:3b:c3:ce:6a:13:
                    4f:8b:16:e0:7a:26:92:79:33:64:a0:80:11:c9:6c:
                    81:b8:f9:12:cd:4d:fa:6f:af:14:2a:69:ae:49:a5:
                    78:f3:af:b3:48:6a:c5:b1:16:32:ad:b1:3e:fc:9e:
                    25:d7:dc:9a:92:a4:32:6a:e7:13:f2:82:6a:39:b9:
                    46:4f:63:ce:d5:de:0d:8f:95:d2:4e:28:70:f2:c3:
                    9e:56:54:c1:d1:d6:ae:e7:78:2e:e1:5f:a0:13:7a:
                    eb:54:9f:c5:c3:30:c7:f4:35:37:ec:b1:e0:e8:9e:
                    db:1e:7e:f2:7a:5e:c3:d5:aa:d4:b2:2e:2f:0d:48:
                    f2:fe:27:06:d0:97:0a:18:78:89:02:bb:e7:f1:a1:
                    d1:6c:11:bf:a4:a9:45:e2:6c:5f:3f:69:89:74:bf:
                    c3:3c:2c:7d:63:47:56:2f:7b:44:e9:0b:81:27:01:
                    b0:de:3f:4f:6f:d5:22:1b:c3:b7:ed:9c:4e:67:b4:
                    67:83:12:0d:94:cc:ae:69:b4:61:bd:5a:56:b7:73:
                    58:60:79:bc:86:d4:b7:a0:57:57:a6:1c:05:fb:d3:
                    72:35:28:7c:90:e1:cf:60:ae:bf:e4:3b:5f:90:73:
                    84:07:83:b9:44:00:09:d9:b0:30:11:11:55:15:c3:
                    4c:57
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Authority Key Identifier:
                F3:8A:85:69:9C:F8:2D:72:7A:1F:2E:89:C4:2D:57:5E:75:13:C2:58
            Authority Information Access:
                OCSP - URI:http://ipa-ca.example.com/ca/ocsp
            X509v3 Key Usage: critical
                Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment
            X509v3 Extended Key Usage:
                TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 CRL Distribution Points:
                Full Name:
                  URI:http://ipa-ca.example.com/ipa/crl/MasterCRL.bin                CRL Issuer:
                  DirName:O = ipaca, CN = Certificate Authority
            X509v3 Subject Key Identifier:
                46:81:53:66:BE:3E:AC:C5:F2:1B:BB:61:52:E3:75:19:42:E8:99:06
            X509v3 Subject Alternative Name:
                DNS:ipa.example.com, DNS:ipa-ca.example.com, othername: UPN::HTTP/[email protected], othername: 1.3.6.1.5.2.2::<unsupported>
    Signature Algorithm: sha256WithRSAEncryption
    Signature Value:
        1a:a7:7c:ed:00:1c:ff:8c:56:76:24:24:74:86:09:d7:5f:46:
        6e:63:eb:56:22:6f:b8:5a:63:ce:27:7a:3f:dc:15:93:d4:54:
        9d:91:9f:10:83:33:2b:a9:ac:2b:49:4f:73:d6:ab:f5:ed:22:
        91:ec:48:b2:81:58:64:e8:af:b1:96:a9:99:ec:e3:f7:e8:ef:
        1a:f9:44:de:cb:5e:dd:f9:11:f9:41:83:9e:94:6e:49:2c:e3:
        f3:1e:27:1b:69:86:56:39:fd:51:a0:fd:f9:9f:a6:bf:48:76:
        d1:94:26:76:ec:03:51:ab:28:62:40:fc:a2:2b:c6:87:0f:7e:
        1e:5e:ef:ec:86:35:37:f5:35:1a:4b:3d:f5:ce:59:cc:ca:fb:
        f8:ec:84:ac:a3:b3:2d:e8:ba:cb:e2:f2:60:f0:2c:4f:8a:85:
        7a:b2:65:61:2b:9d:cb:80:c1:e8:d6:e5:e5:da:82:f2:d5:ab:
        a8:6c:ff:ca:b2:48:62:c2:c3:34:ae:91:c1:bc:d6:54:59:b6:
        34:29:85:c0:9d:84:97:3e:18:99:c4:5b:68:e4:cb:d5:57:bc:
        0e:0d:03:11:c5:12:8d:6b:a4:6c:31:00:11:17:31:84:46:ce:
        b1:5e:98:02:30:03:c8:ea:63:45:04:de:81:18:1e:a9:81:ee:
        61:d6:ef:80:16:81:c2:c3:3c:bf:a5:b9:62:47:97:9c:cb:25:
        2a:b6:d8:b5:62:54:b5:b4:1b:ac:06:6a:72:b3:63:1c:87:b8:
        e8:05:71:0d:ff:94:19:35:7d:e3:b4:dd:3b:c2:d1:4b:26:af:
        2d:d4:1f:1f:68:dd:53:5f:56:9d:dd:98:9d:3b:5a:c5:ea:7d:
        ee:3b:3e:3c:d4:5b:50:9f:45:06:02:d4:04:ef:fd:1e:a8:67:
        58:69:1a:12:90:c4:17:10:db:f4:91:10:e2:68:78:a6:0c:fd:
        d5:ad:d6:99:e2:9c:50:d1:0f:d9:31:35:57:8a:08:24:93:b1:
        a8:85:b1:54:61:76
Clone this wiki locally