To create a quick self-signed certificate for the server, valid for 365
- days, use the following
OpenSSL command,
using
- the local host name in the subject argument:
+ days, use the following
OpenSSL command,
+ replacing yourdomain.com> with the server's host name:
openssl req -new -x509 -days 365 -nodes -text -out server.crt \
- -keyout server.key -subj "/CN=yourdomain.com"
+ -keyout server.key -subj "/CN=yourdomain.com>"
Then do: