Welcome on my blog

We use cookies to ensure you get the best experience on our website.

Linux- OpenSSL — Certyfikaty

Autor: chmajster 03.11.2023

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
Tagi:
Dodaj komentarz

Search
Categories
O Blogu

Cześć Podróżniku!

Ta strona ma nie być typowym poradnikiem w IT, Głównym jej cel to zapisanie krótkich notatek, które mogą się przydać w codziennym życiu podczas korzystania/konfiguracji różnych urządzeń np. Ustawienia DHCP na Routerze Cisco, Ustawieniu Karty sieciowej na Linuxie itp.

Buy me A coffee
[Empty]

Wszelkie prawa zastrzeżone