Install CertBot Installing certbot in Ubuntu is pretty straight forward:

apt-get install certbot Generate certificate Based on the type of webserver you are using, you need to pass a different parameter to the certbot in order for it to properly configure your virtual host.

In the case of nginx , it’s as simple as:

certbot –nginx Next, you’ll need to answer a couple of questions which are necessary for the certificate issuance.