Anuj Varma Software • Cloud • Security • AI
Archive

Category: Software Dev

Lessons learnt from the world of Software Development, Object Oriented Design and .NET Architecture.

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 →