SSL with certbot on nginx/apache on Ubuntu Server
Working on mission to provide, Software Engineering Trainings easily and freely accessible to everyone through EdTech
Search for a command to run...
Working on mission to provide, Software Engineering Trainings easily and freely accessible to everyone through EdTech
No comments yet. Be the first to comment.
Catch-all for Port 80 (http://) server { listen 80 default_server; server_name _; return 404; } Catch-all for Port 443 (https://) First generate a self signed cert: openssl req -nodes -x509 -newkey rsa:4096 -keyout self_key.pem -out self_...
WebAssembly (wasm) Designed as a portable compilation target for programming languages Loading…

Since, cloudflare R2 is compatible with S3 API, we can simply use boto3 to work with R2 as wll import logging import boto3 from botocore.exceptions import ClientError from botocore.client import Config def create_presigned_url(bucket_name, object_...
We will be using python cryptography library install cryptography library using pip install cryptography from cryptography.fernet import Fernet KEY = "" # Fernet compatible key or; # you can generate key using Fernet.generate_key() CIP...
On this page
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python3-certbot-nginx
sudo certbot --nginx
sudo apt-get install python3-certbot-apache
sudo certbot --apache
Note [if using Cloudflare]: If you have used cloudflare as DNS hosting and have proxied your DNS record to this server, then automatic domain verification of while generating certificate will fail. In this case remove proxy from cloudflare DNS record and then try again else you can choose other methods for your domain verfication