Przejdź do treści

Linux- OpenSSL — Certyfikaty

output openssl x509 -in filename.pem -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 01:23:45:67:89:ab:cd:ef:01:23:45:67:89:ab:cd:ef
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=US, O=Example Corp, CN=Example Root CA
        Validity
            Not Before: Jan 1 00:00:00 2023 GMT
            Not After: Dec 31 23:59:59 2023 GMT
        Subject: C=US, O=Example Corp, CN=www.example.com
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67:
                    89:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67:
                    89:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67:
                    89:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67:
           
         
     

Konwersja pkcs12 to PEM

openssl pkcs12 -in cert.p12 -out key.txt
# Here wpisz haslo dla klucza

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Wymagane pola są oznaczone *