Jump to content

Unraid cannot open the web UI


Go to solution Solved by JorgeB,

Recommended Posts

Nginx cannot start properly and indicates a certificate issue. How should I resolve this? The services are working fine, and Unraid can access the internet without any issues. Can I update the certificate online to fix this problem? If so, please guide me on the steps to perform the operation

# cat /var/log/nginx/error.log 
2024/01/26 23:04:40 [emerg] 6917#6917: cannot load certificate "/boot/config/ssl/certs/Home-Lab_unraid_bundle.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
2024/01/26 23:09:47 [emerg] 14933#14933: cannot load certificate "/boot/config/ssl/certs/Home-Lab_unraid_bundle.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
2024/01/26 23:21:17 [emerg] 20408#20408: cannot load certificate "/boot/config/ssl/certs/Home-Lab_unraid_bundle.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)


# ./rc.nginx start
unable to load certificate
23184006805312:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
unable to load certificate
23330273797952:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
Regenerating private key and certificate...
cat: /tmp/cert.pem: No such file or directory
unable to load certificate
22473371236160:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
Starting Nginx server daemon...


# ls -l /boot/config/ssl/certs/Home-Lab_unraid_bundle.pem
-rw------- 1 root root 1708 Jan 26 23:28 /boot/config/ssl/certs/Home-Lab_unraid_bundle.pem

# cat /boot/config/ssl/certs/Home-Lab_unraid_bundle.pem
-----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDCDcCWa0fWkmAM
9areTIaM7QKhXulD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vd7pbrhAjwBIodm7sR5
RnfyGxrx25IDniEhD+wKNTd0a6AAhU7g8KONXPiW3Ue+BooxfceUCt+z2bGyKnAM
6TLN5lMKVY37akUEYyHGnMOZUdQGJAqZbtvSOI+3ZslWnt8LQzK/hClhiQKBgQC+
Ymqb1lbbHsBHvcJbFvw++9X2F/G30FMo2fztPtf2ISlZPQw3zGH1T5ejGBow+nyW
aLBTSQt7BP1Pb6HaWak8TRceJfQ0lC/nn7JXatpWM4Ql2E9TTz5AqD+8JnfTXCjT
t4g2U4q5R+Zj1g9iEMeB+tXWN9VIZd9L1MSD2akAdQKBgQC+PrU6iOR+RedMtba/
kYfmctv3ZR+HLOvDo2sv4E8fTFLXKRKOAvE/WlIASIe+5QXStRExSQz2y7ECSHlp
kHTXZ4RIBzi14lf1zgETzJYEAo0Rol+bPo9YqHdqhXqLCLzfHRxnmNdDmGvW1qgU
tyZa+pqZv+TMlziH+pDm5tfOhg==
-----END PRIVATE KEY-----

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...