No http and https access after setting "Use SSL" to Auto


Recommended Posts

Hi all, after I set Use SSL/TLS from yes to auto, I can't access the web management via https anymore. Via http I can see the website but the logon doesn't work. Can you tell me why I can't see the web management via https and why the logon doesn't work via http? Thanks

Link to comment
22 hours ago, JorgeB said:

Edit config/ident.cfg on the flash drive and change USE_SSL from "auto" to "no", then reboot.

I am interested in the creation of the certificate for access via the forum. Can I set Use SSL to no? Because the button to create a certificate is grayed out.

Edited by CptRetro
Link to comment
18 hours ago, ljm42 said:

Please upload your diagnostics.zip file (from Tools -> Diagnostics)

 

To get a better idea of the issue... what url are you currently using to access the server's webgui and what url do you want to use?

I only use SSL and SSH to access the server. However, I would also like to have the option to access my Unraid server via My Servers from anywhere in the world. Unfortunately, I can't create a certificate for this because it is grayed out. If I set Use SSL from Yes to Auto, access via SSL is no longer possible. Via port 80 I see the web GUI but a login does not work. SSH still works, so I can set the option in ident.cfg back from auto to yes. I have attached the Diagnostics.zip. Thanks for the support.

cptserver-diagnostics-20220504-2007.zip

Edited by CptRetro
Link to comment

OK this is Unraid 6.9.2 and Use SSL is set to Yes with HTTPS Port set to 443. Are you currently this https url to access the server?

  https://CptServer.local 

If so, that should rule out any port conflicts.  Please confirm that is the case.

 

And your goal is to setup My Servers Remote Access? You are aware that in 6.9.2 this will change your Local Access url to something like this, right?

  https://asdlfkj3j02309asdfojalwj3.unraid.net

 

So you are following the instructions here:

  https://wiki.unraid.net/My_Servers#Configuring_Remote_Access_.28optional.29

and ran into trouble on step 2, is that correct?

  >  2. If you are using Unraid 6.10, be sure to set USE SSL/TLS to No. In Unraid 6.9 this should be set to Auto.

 

 

 

 

Link to comment
Quote

OK this is Unraid 6.9.2 and Use SSL is set to Yes with HTTPS Port set to 443. Are you currently this https url to access the server?

https://CptServer.local

If so, that should rule out any port conflicts.  Please confirm that is the case.

Exactly. I use this url and port 443

 

Quote

And your goal is to setup My Servers Remote Access? You are aware that in 6.9.2 this will change your Local Access url to something like this, right?

https://asdlfkj3j02309asdfojalwj3.unraid.net

Exactly

 

Quote

So you are following the instructions here:

https://wiki.unraid.net/My_Servers#Configuring_Remote_Access_.28optional.29

and ran into trouble on step 2, is that correct?

  >  2. If you are using Unraid 6.10, be sure to set USE SSL/TLS to No. In Unraid 6.9 this should be set to Auto.

Thats also true.

Link to comment

Excellent, thanks for letting me know where we are starting. 

 

BTW, SSL handling is much improved in Unraid 6.10. So if you get completely stuck you might consider waiting for 6.10 stable to be released and setting up SSL there. But hopefully we can get you going now.

 

OK so in 6.9.2, when you change Use SSL from Yes to Auto, the url will switch from https to http since there is no official cert. 

 

Because you had problems with that before, let's change Use SSL to No first, and confirm you are able to login and access the webgui over http. If you have trouble here, I'd suggest trying in a different browser, or private/incognito mode. Sometimes browsers can get fixated on SSL and if they remember using SSL previously they always want to use it, a different browser or private/incognito mode can help get past this.

 

Once you are logged in, change Use SSL from No to Auto. The url will not change, there should be no problems with this step.

 

Then press Provision. If all goes well you will get a popup telling you a Let's Encrypt cert has been provisioned. When you press OK you will be redirected to the new https url and prompted to sign in again.

 

If you get a popup talking about DNS Rebinding Protection, you'll need to adjust your router or perhaps change your DNS provider. See https://wiki.unraid.net/My_Servers#A_note_regarding_DNS_Rebinding_Protection 

 

(One of the improvements in 6.10 is that you can still use our SSL certificate for Remote Access even if DNS Rebinding Protection prevents you from using it for Local Access. In 6.9 it is all or nothing.)

  • Like 1
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.