favorite
How to create server.crt and server.key for local web app
Certificate create operation as follows:
1. Create v3.ext file having following content:
[req] distinguished_name = req_distinguished_name x509_extensions = v3_req prompt = no [req_distinguished_name] C = TW ST = Taiwan L = Taipei O = CR OU = It CN = html_12 [v3_req] keyUsage = keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names [alt_names] DNS.1=html_12
2. run command
openssl req -new -newkey rsa:2048 -sha256 -days 3650 -nodes -x509 -keyout server.key -out server.crt -config v3.ext -extensions v3_req
3. Copy server.crt into C:\xampp\apache\conf\ssl.crt
and server.key into C:\xampp\apache\conf\ssl.key
4. Rerun Xdebug to enable certificate
web Last Updated: 29-10-2017

Comments About Tutorial
There is no comment
WARNING

Please fill all text boxes
Message Result

Your comment is saved. After approved, it will be published
An Error Occured

We are sorry, your request cannot be continued try again later