Anuj Varma Software • Cloud • Security • AI
Archive

Series: letsencrypt

Certbot with Apache

Prelim Concepts A .pfx file is a PKCS#12 archive. Typically, a PKCS#12 archive contains a certificate (possibly with its assorted set of CA certificates) and the corresponding private key. A .cert (or .cer or .crt) file…

Read more →

Installing certbot on an EC2 using AWS Systems Manager

Registering the certbot client and requesting a certificate      - sudo yum -y install yum-utils     - sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm     - sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional     - sudo yum -y install certbot     - sudo certbot register --server {{ CertServerUrl }} -m {{ contactEmail }} --no-eff-email     - sudo certbot certonly --server {{ CertServerUrl }} --cert-name {{ certName }} -d {{ certDomains }} --webroot-path {{ webrootPath }} > /home/certbotout.txt The terraform file (ssm-certbot.tf) # input variables variable "instance_ids" {   type =  list   default = [""] } variable "cert_common_name" {   type    = string…

Read more →