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.

(Issue) Custom SSL Certificate - Cloudflare Wildcard Cert for Unraid UI

Featured Replies

I use Cloudflare and have a wildcard certificate that is tied to my domain name.  I would like to use this with unraid, but am experiencing issues importing the cert.

When I add the certificate to /boot/config/ssl/certs/hostname_unraid_bundle.pem and navigate to the server in the browser, I get an ERR_CERT_AUTHORITY_INVALID error.  Inspecting the Cert does show the custom cert in the browser.


I can see it in the /Settings/ManagementAccess page, but it also says: "CA-signed certificate file: Not present"
image.thumb.png.f53542384bac3e248a5ce9c7535ee606.png 


I found the directions in the wiki, but they are lacking information on how the /boot/config/ssl/certs/hostname_unraid_bundle.pem file should be structured. 
I get separate Certificate, Key & CA files from Cloudflare and I need to combine them into the _unraid_bundle.pem
Also, cloudflare gives me certificates for "Edge", "Origin" and "Client", I'm using the "Origin" certificate.

 

hostname_unraid_bundle.pem I made:

-----BEGIN CERTIFICATE-----
Origin Certificate
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
Origin CA certificate  (RSA PEM)
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
Origin Certificate Private Key
-----END PRIVATE KEY-----

 

 

So, am I overlooking something?  Formatting the bundle.pem file wrong?  Using the wrong Cloudflare Cert?

Thanks for the help!

Sam

  • 6 months later...

Hi, did you ever get this resolved?  I am having the same problem.

  • Author
On 9/3/2023 at 2:51 AM, Drank6362 said:

Hi, did you ever get this resolved?  I am having the same problem.

I did get it working, but I'm not using the cloudflare cert.  I'm using a letsencrypt certificate.  I use ACME on pfsense to automatically generate it, then I use RSYNC once a month to copy that to my unraid server.  (Could also have it generated on your server using various methods)
From there I have the certs installed on unraid using this script I made:

https://github.com/samssausages/unraid-install-sslcert/tree/main

 

If you don't end up using unraid-install-sslcert.sh I made, you should still get some ideas from it as far as where they need to copied to and how they need to be named.

Edited by samsausages

  • Community Expert

In case anyone stumbles upon it later on:

The Cloudflare certificates only work for Cloudflare services. Theyre not "real" certificates. They only work between your service and the servers of cloudflare.

ZeroSSL or LetsEncrypt are the way to go.

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.