BIO_new_file(“/etc/letsencrypt/live/domain.com/fullchain.pem”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/etc/letsencrypt/live/domain.com/fullchain.pem’,’r’)

Solutions

  1. Find where the issue
grep -R /etc/letsencrypt/live/example.com/fullchain.pem /etc/nginx/

2. fix or reset them

3. sudo nginx -t

4. sudo systemctl restart nginx

By toihid