Dave's Brain

Browse - Computer Tips - How can I make a self-signed certificate with no password?

Date: 2017may26
OS: RedHat/Fedora/CentOS
Language: bash
Keywords: cert, key, keygen, makekey, makecert, ssl, ssh, letsencrypt, certbot

Q.  How can I make a self-signed certificate with no password?
(For a https://... website)

A.
dnf install crypto-utils genkey --days 3650 <domain>
The program asks you some questions. You're not gong super secure so might as well get 10 year duration. Better to use letsencrypt.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.