** Must install OpenSSL on your system1. Single-name SSL Certificates# openssl req -new -newkey rsa:2048 -nodes -keyout abc.com.key -out abc.com.csr After pressing enter, you’ll be prompted with the following:- Country Name (2 letter code) : Use your 2 char country code - State or Province Name (full name) : Use your current State - Locality Name (eg, city): City name- Organization Name (eg, company)...
Showing posts with label SSL. Show all posts
Showing posts with label SSL. Show all posts
Thursday, June 13, 2024
Wednesday, May 15, 2024
Letsencrypt : Generate Let’s Encrypt Wildcard SSL Certificate
1.Install Let’s Encrypt Certbot Tool#sudo apt-get OR dnf install letsencrypt2.Generate Let’s Encrypt Wildcard SSL Certificate#sudo certbot certonly --manual --preferred-challenges=dns --email webmaster@example.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d example.com -d *.example.com 3.Certificates are generated and can be downloaded from the following path#/etc/letsencrypt/live/example.com/4.Generate...
Tuesday, May 25, 2021
Generate a CSR (Certificate Signing Request) in Linux
1.Issue the following command to generate a CSR and the key that will protect your certificate.#openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr2. After creating CSR, view the contents of the file using a cat#cat example.com.csr#cat example.com.key source: https://www.tecmint.com/generate-csr-certificate-signing-request-in-linux/...
Friday, February 22, 2019
SSL : RSA server certificate CommonName (CN) `abc.com.my' does NOT match server name!?
Issue :
[warn] RSA server certificate CommonName (CN) `abc.com.my' does NOT match server name!?
Resolve:
Edit Apace SSL file : /etc/httpd/conf.d/ssl.conf
Change line # SSL Engine Switch from ON to OFF - SSLEngine off...
Thursday, February 21, 2019
SSL : Disable SSL on Webmin
1. Edit /etc/webmin/miniserv.conf
2. Change value of "ssl" entry from 1 to 0
ssl=1 (enable)
ssl=0 (disable)
3. Restart webmin services # /etc/init.d/webmin restart
4. Restart apache services # /etc/init.d/httpd rest...
Tuesday, February 16, 2016
Letsencrypt : Secure Apache on Virtualmin
The guide :
FOLDER DOMAIN : In virtualmin directory
FULL DOMAIN: www.example.com
1. First install Let's Encrypt script/programme
Login to SSH and get root privileges (root/sudo -i):
cd /home/<FOLDER DOMAIN>/ && git clone https://github.com/letsencrypt/letsencrypt
OR
cd /root/ && git clone https://github.com/letsencrypt/letsencrypt
* This will download the Let's Encrypt...
Subscribe to:
Posts (Atom)