danielcomcom

Create Self Signed SSL

Sep 22nd, 2021
932
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. openssl req -newkey rsa:4096 \
  2.             -x509 \
  3.             -sha256 \
  4.             -days 3650 \
  5.             -nodes \
  6.             -out cert.crt \
  7.             -keyout privatekey.key \
  8.             -subj "/C=CA/ST=BC/L=Lytton/O=Security/OU=FlexSCADA/CN=FlexSCADA"
  9. cat privatekey.key
  10. cat cert.crt
  11.  
RAW Paste Data