Ben yazılım geliştiriciyim. Kendi projem için bir VPS sunucu almıştım. Ayarlamalarında sorunlar yaşıyorum.
Geliştirdiğim uygulama Angular tabanlı ve nodejs 4000 port üzerinde çalışıyor. Nginx certbot ile sertifikasını oluşturdum , proxy_pass ile portu dinlettim, sorunsuz çalışıyor. Mailler geliyor letsencypt'ten ve 2-3 güne bir ssl'im hata veriyor.
internette yazan çoğu şeyi araştırdı uyguladım beceremedim.
Yardımcı olabilecek bir uzman arıyorum.
gelen uyarı maili : * 'Lets Encrypt xxxxx.com' [days to expire: 7]
[-] xxxxx.com
[-] www.xxxxx.com
Invalid response from https://acme-v02.api.letsencrypt.org...-v3/1531244826.
Details:
Type: urn:ietf
arams:acme:error:unauthorizedStatus: 403
Detail: Invalid response from https://xxxxxx.com/.well-known/acme-...ueglYU2BibivPY : "<html>rn<head><title>404 Not Found</title></head>rn<body bgcolor="white">rn<center><h1>404 Not Found</h1></center>rn<hr><center>"
Sertifikayı yeni oluşturmuştum.
nginx ssl ayarlarım şu şekilde.
server {
server_name xxxxx.com www.xxxxx.com;
listen 443 ssl; # managed by Certbot
# RSA certificate
ssl_certificate /etc/letsencrypt/live/xxxxx.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/xxxxx.com/privkey.pem; # managed by Certbot
ssl_trusted_certificate /etc/letsencrypt/live/xxxxx.com/chain.pem;
location / {
proxy_pass http://localhost:4000/;
}
include letsencrypt/ssl.conf;
include letsencrypt/webroot.conf;
# Redirect non-https traffic to https
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}