Questions tagged [certbot]

328 questions
0
votes
1 answer

Nginx, three identical vhost configs, one works, the other two got too many redirects

I got three websites on my server. My mainpage gamenotify.net works well. My other two are getting to many redirects between www and non-www url. My vhost files are identical to my mainpage. I just copied it and replaced the folder names and webpage…
0
votes
0 answers

Unable to configure ssl on mariadb using certbot generated certificates and private key

I'm using certbot to generate a certificate for mariadb server and client ,but it's not working. sudo certbot certonly -d mariadbserver -d mariadbuser This is the command that i've used to generate certificates using certbot, I've got 4 files for…
Vijay
  • 1
  • 2
0
votes
0 answers

Why the letsencrypt certficate validity ended before the expiry date

I configured the letsencrypt certificate for my website which is hosted on centos 7 with httpd web server On 12-07-22 I renewed the SSL certificate manually by using /usr/bin/certbot renew. Then checked the SSL validity on the SSL checker website.…
jayaprakash R
  • 21
  • 1
  • 5
0
votes
1 answer

How can I run TLS on Apache2 Proxy behind port forwarding

I have a problem with apache2 proxy in TLS using port forwarding. I manage to make it work correctly in HTTP, but as soon as I try to make it work in HTTPS, Apache shows the message Service Unavailable The server is temporarily unable to service…
H.LK
  • 3
  • 2
0
votes
1 answer

after applying ssl certificate, static files aren't served anymore

My config file is located in /etc/nginx/sites-enabled is called songreccs.conf and looks like this: server { server_name www.songreccs.com songreccs.com; location /static { root /home/user/sonreccs/flaskrec/; …
maltek
  • 3
  • 2
0
votes
1 answer

I get an Error "Load cannot follow more than 20 redirects" after installing ssl certificate

this is my config file: server { server_name songreccs.com; location /static { root /home/user/sonreccs/flaskrec/; } location / { proxy_pass http://localhost:8000; …
maltek
  • 3
  • 2
0
votes
1 answer

How to create auto redirect to 301 https + proxy_pass in NGINX for one location /

This is my nginx config: server { listen 80; server_name example.com; server_tokens off; location /.well-known/acme-challenge/ { root /var/www/certbot; } location / { proxy_pass http://frontend:4200; # return 301…
0
votes
1 answer

nginx with Certbot blocking local traffic to website from local IP?

I have setup nginx with Certbot on my home server running Debian to host a small website. I have a static external IP address and custom domain that points to the latter. Everything runs fine so far, however since I installed Certbot to enable https…
St4rb0y
  • 59
  • 7
0
votes
2 answers

Why does wildcard dns entry resolve to a singular hostname?

I'm trying to update my letsencrypt wildcard certificate with certbot, but I noticed it behaved strangly when I ran the command. It said it'd add a subdomain name and remove the wildcard as follows: You are updating certificate example.org to…
nyoatype
  • 65
  • 1
  • 9
0
votes
1 answer

www certificate not getting pulled correctly - nginx and certbot

I am using a docker stack with nginx and certbot. My domain is hosted on google domains. I want a domain to be accessible via example.tld only: redirect all http to https redirect www to non-www This is my nginx config: server { listen …
PhilHarmonie
  • 143
  • 2
  • 7
0
votes
1 answer

Unable to renew a Certbot NGINX certificate

I have a NGINX server and I use Certbot to generate a Let's Encrypt certificate. I saw that my certificate was not renewing automatically despite the cron I had set up. I tried to renew it manually with the command: $ certbot renew --cert-name…
Ekip_DetP
  • 1
  • 2
  • 3
0
votes
1 answer

Server refused to connect after installing SSL via Certbot | Docker + Nginx, AWS Lightsail

I have successfully managed to install SSL via certbot into my Nginx Docker container, but after installation, all traffic routed via HTTPS refuses to connect. curl https://www.example.com or curl https://the_ip_of_server curl: (7) Failed to connect…
0
votes
1 answer

How do I set up a Let's Encrypt wildcard certificate for Apache on an Amazon Linux 2 AMI EC2 instance?

I have a domain (let's say example.com), and I currently have a Let's Encrypt certificate set up and properly working for example.com and www.example.com for Apache on an Amazon Linux 2 AMI EC2 instance, and I'm trying to reconfigure the certificate…
0
votes
1 answer

How to allow certbot to be able to access http://myapi.com/.well-known/acme-challenge/2d8dvxv8x9dvxd9v via nginx?

My nginx.conf file is as follows: user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; #the above include brings in the following default files: #50-mod-http-image-filter.conf …
variable
  • 177
  • 2
  • 10
0
votes
1 answer

Certbot unauthorized and connection errors

I have a spring boot application on Google Cloud, CentOS 7. I wish to install SSL certificate via Let's Encrypt and Certbot. When I use certbot --apache -d mydomain.zone command I receive an error: My domain is registered on Namecheap. My A records…
LosmiNCL
  • 33
  • 3
  • 11