[root@someserver opt]# cat generate_ssl_key_and_cert.bash
#!/bin/bash
#me 13aug09
#generate ssl key and cacert from key using newest openssl
/opt/openssl-0.9.8k/apps/openssl genrsa -out privkey.pem 2048
/opt/openssl-0.9.8k/apps/openssl req -new -x509 -key privkey.pem -out cacert.pem -days 5000
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment