Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. openssl genrsa -des3 -out config/topbox-ca-key.pem 1024
  2. openssl req -new -key config/topbox-ca-key.pem -out config/topbox-ca.pem
  3. openssl x509 -req -days 365 -in config/topbox-ca.pem -out config/topbox-ca-csr.pem -signkey config/topbox-ca-key.pem
  4.  
  5. openssl genrsa -des3 -out config/topbox-key.pem 1024
  6. openssl req -new -key config/topbox-key.pem -out config/topbox-csr.pem
  7.  
  8. cp config/topbox-key.pem config/server.key.org
  9. openssl rsa -in config/server.key.org -out config/topbox-key.pem
  10. rm config/server.key.org
  11. openssl x509 -req -days 365 -in config/topbox-csr.pem -signkey config/topbox-key.pem -out config/topbox-cert.pem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement