Sign in to new truenas scale

Hello all

I just re build my main server. Truenas was installed for 2 years as a vm on proxmox and another 2 on bare metal.

I recently decided to uninstall proxmox and install a new truenas scale (25.04) on the same server as a bare metal installation .

All is working Almost well.

The only issue is once i started my server and the try to access for the first time from another device I get the dreadful message that the connection to this server is not secure.
i click on the button to accept the risks.

Then when i try to access the server again at a later time i get the login screen immediately i get: “not secure https://192.168.1.124/ui/dashboard” (the https is in orange and has a bar across it)
And everytime i try to access the server i need to insert my credentials because google autofill is not working.

This also happens when i try to access Jellyfin server

To note during this period i had to change my router

Thank you in advance for your assistance

While (I think that) I understood your setup, I didn’t get what the exact question was.

Also, I have some additional questions:

  1. By which URL did you access your (virtualised) truenas before?
  2. Have you transferred your configuration from the virtualised truenas to the bare-metal one?
  3. Was your jellyfin installed as a truenas app?

Were your server and VMs using DHCP or static addresses?

1 Like

Yes, you’re going to get that, unless and until:

  • you get a proper domain name,
  • you get a trusted cert for that domain name,
  • you install that cert on your NAS, and
  • you access your NAS using that domain name.
1 Like

thank you @swc-phil and @dan or taking time from your weekend to respond.

the url i posted is my truenas scale set up on bare metal.

my truenas URL from tailscale is 100.94.20.55 and this node i set up as an exit node with subnets and is connected.
As an answer to your 1st question on my proxmox my truenas installed as a vm had the same URL as the one mentioned in my post 192.168.1.124

As an answer to upr 2nd question is no .

Truenas scale was installed from scratch on the bare metal server.

answer to question 3 Jellyfin in both cases (truenas as a vm or as bare metal) was installed as an app within truenas

on my current router (as with my old one) truenas was never iwas in dhcp. It was always both in the truenas configuration and on the router as a static ip address.

@dan
point 1 the domain name on all my truenas installation was / is WORKGROUP for all machines on my network . Is this what you mean?

point 2 never had to do this before How do i obtain a trusted cert?
point 3 once i get the trusted cert where do i i install it?
point 4 I always access my nas by the ip address (shortcut). I would not know how to access it via domain name

Once again thank you all for taking the time from your precious weekend to assist me.

I forgot to mentioned than in the tails scale configuration i have a published server url of 192.168.1.0 (did not work) and today i tried changed it to 192.168.1.124:8096 still did not work

No, I mean a public Internet domain.

So, did I get it correctly that you were accessing your truenas via the same https://192.168.1.124/ and didn’t get any errors and also have had your login/pass auto-inserted?

@dan Thank you for your immediate response

Sorry to be so ignorant by public internet domain. Do you mean ?

what i called my truenas? if so: i called it as “truenas_default” which i did not create.

under edit global configurations i have as host name truenas.local
under domain i have WORKGROUP (I INPUTTED THIS)

and under additional domains i have local

I hope this clarify things

A public internet domain is something like truenas.com.

Thank you for putting up with my ignorance in global settings should i then need to add turenas.com to my additional domains?

i never had to do this before (because this was beyond my knowledge)

Let’s go back to Phil’s earlier question:

sorry All just saw @swc-phil now

I’m accessing via 192.168.1.124 in the google search bar the https comes later. I do not know why https in lieu of http.
and the credentials need to be inserted.

BTW i just added as additional domain truenas.local and this worked and it did save my credentials. This is a step forward however it still when i enter the ip address i am back to square 1

when i use the truenas.local i still get the label not secure.

Thank folks

Ok, let’s check some points:

  1. In your browser’s credential manager, look up your truenas credentials. Check whether the URL is http or https.
  2. In your truenas, go to System → General Settings (or just open https://192.168.1.124/ui/system/general) and make the screenshot of the GUI section.
For one, here is my screenshot

Thank you for your response @swc-phil

1 in my browser credentials all my servers url start with http

2 here is my screenshot


thank you for your patience

One of the possible solutions is to change them to https (or mb just add another applicable url; it really depends on credential manager implementation).

That’s odd. Your http → https redirection is already disabled. Mb it’s worth trying to turn it on and then off.


Regarding the browser warning – there are multiple possible ways to resolve it (welp, it would kinda depends on the actual browser; I would speak for chrome):

  1. No https at all. If there won’t be redirection (to https) you should be ok. You don’t need any cert for the plain http as there is no encryption. In my opinion, working with an expired or self-signed certificate is better, as your connection is still actually encrypted (with a “potentially unsafe” cert). It is a debatable topic – truenas devs, for one, don’t think so.
  2. Issue a valid cert. The steps required are described by Dan here – Sign in to new truenas scale - #3 by dan . Actually, you can get a public domain for free (e.g. with duckdns), but this is off-topic.
  3. Issue a self-signed cert from a custom CA and add this CA to all clients as trusted. IMO, this is about an order of magnitude harder than just issuing a “proper” cert for the owned public domain. I personally never did it, so I can’t consult here.
  4. Issue a self signed cert. If you would trust it after the initial warning, there would be no additional warnings on this client. At least that is how chrome and safari used to work. However, your cert has to be issued for the domain/url you access your truenas with. Truenas has a built-in functionality for issuing such certificates under Credentials → Certificates. I hadn’t used it for some time, so don’t remember much. Perhaps this doc would help.

So, I think you should go with 1 or 4.

@swc-phil thank you for these suggestions

I tried to change as you mentioned http>https. and restarted truenas.

No change. in fact even if try to access my server with truenas.local i get the same result as if i were to login to 192.168.1.124.

I un checked the box and rebooted the server no difference

i unchecked the box and again all went as i expected …nada

your idea of option 1 or 4 i feel overwhelmed.
and since i’m also having an issue with jellyfin
Should i just go back to 24.10 and be done with it ?

But what is the actual issue?
That you have to enter you credentials manually because autofill doesn’t work?

Is that a dealbreaker for you at this point in time?

Just to test it, I’ve disabled redirection on mine (I didn’t reboot, as it shouldn’t be needed):

  1. If I access gui via dns over http (something like http://truenas.mydomain.tld), it’s still redirecting to https; seems like a truenas bug to me.
  2. If I access it via ip (something like http://10.13.37.10), it doesn’t redirect to https, the browser (safari) doesn’t show any warnings. The login page has a warning at the bottom – You are using an insecure connection. Switch to HTTPS for secure access.
  3. If I access gui via dns over http with the port number specified (http://truenas.mydomain.tld:80) it doesn’t redirect me to https :exclamation: Or better said it redirected me to http://truenas.mydomain.tld/ui/signin (without a port). And also no browser warnings. The login page warning is in its place.

So, perhaps you could try the url from 2 or 3. Otoh, you said that access via ip didn’t work for you… I’m on 25.04.2.5, btw.

You do you.

Via which url do you access it?

There might be a bug, but isn’t https redirect a feature of most browser nowadays, especially if a site was https previously?

@swc-phil sorry to take up so much of your time.

I tries to reach truenas by manually typing http://192.168.1.124 this brought me to the login screen and google autofill worked. Go figure

In my case the crossed HTTPS did not appear however the not secure message to the far left of the address bar still appears.

If i try truena.local:80 as you suggested i get the same result no HTTPS but the not secure message is there… I guess this is a message just warning us that using http is not as safe as using https.

I am going to leave it as it is and focus on accessing Jellyfin correctly and remotely

@neofusion

I’m not an it guy however i would agree with you that this is a bug.

Since i had to rebuild my nas, I installed truenas 25 and jellyfin 10.

Since this i’m having a hard time accessing my media in jellyfin
Music is either flac or mp3 and videos are either mp4 avi or mkv

in truenas 24.10 all was working perfectly .

I am really debating i should just rebuild the server on truenas 24.10

Thank you all for your assistance and for taking the time from your weekend to help me