Can't change time zone

JohnAtl

Cadet
Joined
Sep 9, 2021
Messages
9
Due to this error:
Code:
Selected certificate does not have a private key

Any ideas?
 
Joined
Jun 2, 2019
Messages
591
A little light on specifics, but...

You have any anything unique in NTP config?

Seem pretty straight forward to me.


Screen Shot 2021-10-20 at 9.24.04 AM.png
 
Last edited:

JohnAtl

Cadet
Joined
Sep 9, 2021
Messages
9
I agree, should be a no-brainer.
Even just clicking Save without changing anything gives the error.

Screen Shot 2021-10-20 at 5.31.52 PM.png
 
Joined
Jun 2, 2019
Messages
591
That seems too be more of a problem with the freenas_default self signed certificate than just TZ

Screen Shot 2021-10-20 at 7.06.23 PM.png
 

heis2201

Dabbler
Joined
Sep 10, 2020
Messages
25
I am affected by the same problem like OP. My Private Key field is empty. Anyone any idea why? Is there a way to restore the cert? Is there a way to generate a new certificate?
@JohnAtl, how did you fix this?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try midclt call system.general.update '{ "timezone": "<TZ string>"}' from the Shell.
 

heis2201

Dabbler
Joined
Sep 10, 2020
Messages
25
Didn't work.
1658403439146.png


I used tzsetup to define a new timezone, however the UI doesn't update.
 

Attachments

  • 1658403389383.png
    1658403389383.png
    20 KB · Views: 251

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Generating and assigning a new cert and private key should do the trick.
Did you possibly import a saved configuration? And when saving, did that without enabling the "Export Secret Seed"? Just guessing ...
 

heis2201

Dabbler
Joined
Sep 10, 2020
Messages
25
Generating and assigning a new cert and private key should do the trick.
Is there a how-to or guide somewhere that explains the process? I thought about it, but I failed (I have no clue about certs).

Did you possibly import a saved configuration? And when saving, did that without enabling the "Export Secret Seed"? Just guessing ...
No. this was an older install of freenas (9.x ?), which I had never used. Now, I revived the hardware and upgraded to truenas 12.0 without importing an older config.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
System > CA - generate a Certification Authority
System > Certificates - generate a Cert signed by that CA
 

heis2201

Dabbler
Joined
Sep 10, 2020
Messages
25
Thanks a lot for your quick reply. Are you aware of any descriptive guide on all the details/data that go into the CA?
 
Top