openssl.md (361B)
1 # openssl 2 3 ## check https connection 4 ``` 5 openssl s_client -connect domain.com:443 6 ``` 7 8 ## encrypt file 9 ``` 10 openssl enc -aes-256-cbc -salt -in examplefile -out examplefile.enc 11 ``` 12 13 ## decrypt file 14 ``` 15 openssl enc -aes-256-cbc -d -in examplefile.enc -out examplefile 16 ``` 17 18 ## encryption 19 https://linuxconfig.org/using-openssl-to-encrypt-messages-and-files-on-linux