• 04-12-2019, 02:09:18
    #1
    Merhabalar.
    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:ietfarams:acme:error:unauthorized
    Status: 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
    }
  • 04-12-2019, 08:55:04
    #2
    Oluşturduğunuz ssl kaç günlük normalde 3 ve ya 2 aylık olması lazim
  • 04-12-2019, 10:59:50
    #3
    theykk adlı üyeden alıntı: mesajı görüntüle
    Oluşturduğunuz ssl kaç günlük normalde 3 ve ya 2 aylık olması lazim
    Sanırım 2 ay oldu. ben 1 yıllık sanıyordum
    hemen böyle doluyor demek.
  • 04-12-2019, 11:34:55
    #4
    Evet renew yapman lazım