Enable https on a Linux system

0 votes
I am trying to enable HTTPS on my Linux system and it requires me to acquire an SSL cert. How do I get that?
Dec 13, 2019 in Linux Administration by Hannah
• 17,890 points
64 views

1 answer to this question.

0 votes

Hi @hannah, you can execute the following commands to get the SSL cert:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo certbot --nginx certonly
answered Dec 13, 2019 by Priyaj

Related Questions In Linux Administration

0 votes
1 answer

To attach a file using mail command on Linux

$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE

answered Jun 28, 2019 in Linux Administration by Upasana
• 8,570 points
386 views
0 votes
2 answers

How do I find all files containing specific text on Linux?

grep -rnw 'text to find recursively inside ...READ MORE

answered May 20, 2019 in Linux Administration by Ritesh Singh
7,450 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 68,880 points
87 views
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

answered Mar 15, 2019 in Linux Administration by Jobin
112 views
0 votes
1 answer

Unable to find valid certification path to requested target

The problem appears when your server has ...READ MORE

answered Dec 12, 2018 in Java by Daisy
• 8,080 points
418 views
0 votes
1 answer

How to add https security for Node js?

You need to add the key and cert to the createServer function. const options ...READ MORE

answered Aug 10, 2018 in Blockchain by digger
• 26,660 points
54 views
0 votes
1 answer

Linux: Efficiently test if a port is Open

$ nc -z <host> <port>; echo $? Use ...READ MORE

answered Jun 12, 2019 in Linux Administration by Shubham
• 13,370 points
46 views
0 votes
1 answer

Deploy a static website on a webserver

Hi @hannah. You are right, you need ...READ MORE

answered Dec 13, 2019 in Linux Administration by Travis
55 views