[Self-signed] Generate a host key: sudo ssh-keygen -f host.key Generate a certificate request file sudo openssl req -new -key host.key -out request.csr Type what you want: Country Name (2 letter code) [AU]:TW State or Province Name (full name) [Some-State]:Taiwan Locality Name (eg, city) []:Taipei Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (e.g. server FQDN or YOUR name) []: Email Address []: Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: Create the SSL certificate sudo openssl x509 -req -days 365 -in request.

Continue reading

Author's picture

kerkerj

Cat lover <3

Backend Engineer

Taiwan