Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[V6.9.2] - Incomplete certificate_bundle.pem when provisioning certificate for SSL

Featured Replies

I have an issue where after taking server offline to make some hardware changes I couldn't access the web gui once server booted back up. I saw from searching forum some similar issues and was able to resolve and get it working again by deleting the SSL folder on the flash drive.

 

But now when I try to provision a new certificate on the management access page it creates it but the file is incomplete leading to the below error when rebooting server and I now have to delete the SSL folder before any reboot. To workaround it for the time being I am just not going to provision another cetificate but I would like to be able to use SSL again.

 

Error:

Feb 18 13:18:12 Asgard root: nginx: [emerg] cannot load certificate "/etc/ssl/certs/unraid_bundle.pem": PEM_read_bio_X509() failed (SSL: error:0908F066:PEM routines:get_header_and_data:bad end line)
Feb 18 13:18:12 Asgard root: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 18 13:18:12 Asgard root: Invalid configuration, Nginx not reloaded
Feb 18 13:18:12 Asgard emhttpd: shcmd (1689): exit status: 1

 

When I look at the certificate that has been saved in the boot folder it looks like it is incomplete i.e. it should end with -----END CERTIFICATE----- but it looks like the file is getting cut of before the end.

 

I am hoping someone can steer me in the right direction here because I have deleted the SSL folder and tried provisioning a new cert several times now and everytime the file looks like the below where it just cuts off.

 

I have attached diagnostics.

 

image.png.d00e1555cd635b97b434d2d507412a11.png

asgard-diagnostics-20220218-1318.zip

  • Author

So I still don't know why this is happening but I managed to piece together a working certificate from a previous flash backup so I am back using SSL but might break again when cert is up for renewal in May. Guess I will just have to wait and see.

Yep - I'm seeing the exact same behavior here.  HUGELY frustrating as I've been pulling my hair out and spent like 12 hours trying different approaches to get my SSL access back before I figured out it is almost certainly related to this.   I believe I have an older cert as well so that will buy me a little time I suppose, but I think this is a defect that needs a ticket opened.

  

NOTE:  The length of my older PEM file is 15,844 bytes, and the problematic one here is 12,000 bytes.

Edited by BurntOC

  • 1 month later...

same issue, posting to bump

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.