Setup Certificate

Setup URL and certificate for your domain

Create Route 53 URL from your domain e.g. rollup.testnet.romeprotocol.xyz to point to EC2 server IP

Use your own email address and domain name when requesting certificate

Make sure ports HTTP (80) and HTTPS (443) ports are open

sudo apt install -y nginx
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot certonly --nginx -n -m rome@romeprotocol.com --agree-tos --domains rollup.devnet.romeprotocol.xyz
sudo nginx -s stop

sudo ls /etc/letsencrypt/live/rollup.testnet.romeprotocol.xyz
# Ensure that fullchain.pem and privkey.pem files are located here

Last updated