Fulltext results:
- Generate a Test Key
- ====== Generate a Test Key ====== openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout testkey.key -out testkey.crt Informations about the used arguments from the OpenSSL man page: * ''[[h
- Debug Server Certificate from Client
- ate from Client ====== Credit for this example goes to "[[http://langui.sh/2009/03/14/checking-a-remo... ect|-connect www.andunix.net:443]]'': This specifies the host and optional port to connect to. If not ... ECTED(00000003) depth=1 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = PositiveSSL CA 2 verify error:num=20:unable to get local is
- Print Information about a Key
- out a Key ====== openssl x509 -inform DER -in testkey.cer -noout -text Informations about the used... 09.html#item__inform|-inform DER]]'': This specifies the input format normally the command will expect... is can change if other options such as -req are present. The DER format is the DER encoding of the cer... ing of the DER encoding with header and footer lines added. The NET option is an obscure Netscape serv
- Convert a Key
- re ===== keytool -importkeystore -srckeystore testkey.p12 -srcstoretype pkcs12 -srcalias 1 -destkeystore testkey.jks -deststoretype jks -destalias testkey You can add ''-deststorepass PASSWORD'' to set the pas
- Print Information about a Certificate
- n about a Certificate ====== openssl x509 -in testkey.crt -noout -text Informations about the used... www.openssl.org/docs/apps/x509.html#item__in|-in testkey.crt]]'': This specifies the input filename to read a certificate from or standard input if this o... prevents output of the encoded version of the request. * ''[[http://www.openssl.org/docs/apps/x509.h
- Print all certificates in a file
- ====== Print all certificates in a file ====== This command is especially helpful if you want to use Tomcat-/Java-Keystore-Certificates with the Apache webserver. Use the -print_certs to print all the certificates and then cut the file and store each certificate
- Convert a Certificate
- DER to PEM ===== openssl x509 -inform der -in testkey.der -out testkey.pem ===== Convert PEM to DER ===== openssl x509 -outform der -in testkey.pem -out testkey.der {{tag>openssl security cryptography certificate howto}}
- Compare a Key with its Certificate
- its Certificate ====== Credit for this example goes to "[[https://kb.wisc.edu/middleware/page.php?id=4064|Verifying that a Private Key Matches a Certificate]]" from the [[https://kb.wisc.edu/|