notes:openssl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:openssl [2023/12/09 12:56] – david | notes:openssl [2024/06/01 21:18] (current) – [openssl s_client] david | ||
|---|---|---|---|
| Line 88: | Line 88: | ||
| With certificate verification | With certificate verification | ||
| openssl s_client -connect example.com: | openssl s_client -connect example.com: | ||
| + | |||
| + | Retrieve just the RSA public key if the site has both ECDSA & RSA | ||
| + | openssl s_client -sigalgs " | ||
| + | to retrieve the EC cert use " | ||
| + | |||
| + | For more examples of using signature algorithms see https:// | ||
| + | |||
| + | |||
| wget and openssl s_client | wget and openssl s_client | ||
| Line 96: | Line 104: | ||
| ===== Encrypting using openssl ===== | ===== Encrypting using openssl ===== | ||
| openssl enc -e -k 1234 -aes256 -in text.txt -out text.txt.enc | openssl enc -e -k 1234 -aes256 -in text.txt -out text.txt.enc | ||
| + | |||
| + | |||
| + | openssl enc -e -k 1234 -aes256 -pbkdf2 -in text.txt -out text.txt.enc | ||
| + | |||
| + | openssl enc -d -k 1234 -aes256 -pbkdf2 -in text.txt -out text.txt.enc | ||
| #Signing files | #Signing files | ||
notes/openssl.1702144578.txt.gz · Last modified: by david
