Skip to content

Instantly share code, notes, and snippets.

@boy3vil
Created March 22, 2017 02:30
Show Gist options
  • Save boy3vil/b2323721ce202e928e522245fec02e6c to your computer and use it in GitHub Desktop.
Save boy3vil/b2323721ce202e928e522245fec02e6c to your computer and use it in GitHub Desktop.
set OPENSSL_CONF=D:\lab\apache\bin\openssl.cnf
openssl req -newkey rsa:2048 -sha256 -nodes -keyout ca.key -x509 -days 3650 -out ca.crt -subj "/C=ID/ST=NAD/L=BNA/O=ECH/CN=domain.com"
file
server.crt -> D:\xampp\apache\conf\ssl.crt
server.key -> D:\xampp\apache\conf\ssl.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment