OPNsense Forum

English Forums => General Discussion => Topic started by: MrCCL on July 21, 2016, 03:24:52 pm

Title: [SOLVED] Set Time, Enable SSH, extend certificate life
Post by: MrCCL on July 21, 2016, 03:24:52 pm
1: The time on my mobo is wrong, how can I change it?
2: I tried to logon using SSH, but I guess it's not possible because all certificate is expired cause of the wrong time
3: You you create new certificate they are only valid for 1 year....how can I change this? (my time is exactly one year old) :-(
Title: Re: Set Time, Enable SSH, extend certificate life
Post by: chemlud on July 21, 2016, 03:33:35 pm
GUI -> Services -> Network Time set an appropriate NTP server. As long as your WAN is online, the time should be correct...
Title: Re: Set Time, Enable SSH, extend certificate life
Post by: franco on July 22, 2016, 07:35:27 am
On the command line you can use date(8), rdate(8) is not available on FreeBSD although it's one hell of a cool utility. ;)

Using NTP is the GUI way to do this. We don't have any manual date setting.

SSH needs to be enabled, preferably with keys and separate users with shell privileges, but password and root login can be switched on too if necessary. I don't think your connection issues have to do with a one year lifetime issue in the scope of SSH.

The GUI SSL certs are one year when auto-generated. When creating a new certificate you can set your own lifetime.