×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    in:
    Revision as of 17:51, 30 April 2008 by imported>DrOwl (New page: '''A few handy hints and tips for messing with SSL certs and keys''' * Dump the certificate openssl x509 -in url.crt * Dump the certificate details (-noout supresses output of the cert...)
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    A few handy hints and tips for messing with SSL certs and keys

    • Dump the certificate
    openssl x509 -in url.crt
    
    • Dump the certificate details (-noout supresses output of the certificate itself)
    openssl x509 -in url.crt -noout -text
    
    • Find out the issuer of a certificate (useful for determining the chain file needed)
    openssl x509 -in url.crt -noout -issuer
    
    • Display the valid from/valid to dates
    openssl x509 -in url.crt -noout -dates
    

    Check that a key and cert match

    • Find the modulus for both the cert and the key
    openssl x509 -in url.crt -noout -modulus
    openssl rsa -in url.key -noout -modulus
    

    If they match, then the key is a pair with the certificate. See also CertKeyMatch.

    Test an SSL site

    openssl s_client -connect www.example.com:443
    


    • Check on a csr (Certificate Signing Request)
     openssl req -noout -text -in foo.csr 
    


    • Generate a csr (Certificate Signing Request)

    Version 9 you can use openssl

    openssl req -new -out foo.csr
    

    Versin 4.5 use genconf, which will prompt you for all information.

    genconf
    


    you will be asked to enter all the customers information (probably the same as the older scr, which can be found in '/config/ssl/ssl.csr' on big ip v9)

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.