Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. - sed 's/my.domain.com/actual.domain.com/' server_csr.cnf.example > server_csr.cnf
  2.  
  3. - sed 's/my.domain.com/actual.domain.com/' v3.ext.example > v3.ext
  4.  
  5. - openssl req -new -sha256 -nodes -out my.domain.com.csr -newkey rsa:2048 -keyout my.domain.com.key -config server_csr.cnf
  6.  
  7. - openssl x509 -req -in my.domain.com.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out my.domain.com.crt -days 500 -sha256 -extfile v3.ext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement