Tagged Questions
1
vote
1answer
106 views
`openssl`: Subject Alternative Name
I wrote this bit of code to get the Common Name of the subject field in the SSL certificate for a given domain:
$ echo -e "GET / HTTP/1.1\nEOT" | openssl s_client -connect google.com:443 2>&1 ...
5
votes
3answers
2k views
Safe way to pass password for >1 programs in bash
I'm writing a bash script, and need to ask user for his password and pass it to openssl. Whilst openssl can read the password itself, I need for two runs of the program and don't want to ask the user ...