Skip to content

I'm going to show you how to create an ECC - SSL certificate for you website with Certbot

License

Notifications You must be signed in to change notification settings

MDVsecurity/Create-a-ECC-SSL-certificate-with-Certbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Part.2 Coming soon...

How to Generate a ECC - SSL Certificate with Certbot.

Note this is only for ACME-Challenge


The first thing that we have to do is install certbot.

 pip install certbot

Once you install the library, let's start...


**Here is the Complete Code ** ✅

sudo certbot certonly --manual -d example.com -d www.example.com --agree-tos --manual-public-ip-logging-ok --preferred-challenges http-01 --server https://acme-v02.api.letsencrypt.org/directory --register-unsafely-without-email --key-type ecdsa

Explanition of the code: 📖


  1. The certbot initialize the command


  1. The certonly subcommand tells Certbot to obtain a certificate but not to install it.


  1. The -d flag specifies one or more domain names for which you want to obtain a certificate. In this case, you are requesting a certificate for example.com and www.example.com.


Beware Here

if you add --manual-public-ip-logging-ok to your code possible you can't create more SSL certificates

  1. The --agree-tos flag indicates that you agree to the terms of service for Let's Encrypt. The --manual-public-ip-logging-ok flag allows Let's Encrypt to log your public IP address for the purposes of detecting abuse.


  1. The --preferred-challenges flag specifies the challenge type that you prefer to use for domain validation. In this case, you are using the HTTP challenge, which requires you to create a specific file on your web server in order to prove that you control the domain.


  1. The --server flag specifies the ACME server to use for the certificate request. ACME (Automated Certificate Management Environment) is a protocol for automating the process of issuing and renewing SSL/TLS certificates.


  1. The --register-unsafely-without-email flag tells Certbot to register an account with Let's Encrypt without providing an email address. This is not recommended, as it may make it more difficult to recover your account in the event of a problem.


  1. The --key-type flag specifies the type of private key to use for the certificate. In this case, you are using an elliptic curve digital signature algorithm (ECDSA) key.


The easiest way to me is do it with acme-challenge.

And That's all! for now! 👌

Made with ❤️ to Everyone.

About

I'm going to show you how to create an ECC - SSL certificate for you website with Certbot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published