Can't enable HTTPS

Can't enable HTTPS

Postby rafesl » Thu Jul 31, 2014 4:21 pm

I'm trying to enable https but when I do I get the following filled out on the
TLS/SSL certificate settings

Domain name (HTTPS)
*
Information
*
Other Information
Town
State /Land
Country (2 char)
*
E-Mail

Validity Nov 16 12:02:20 2011 GMT - Nov 15 12:02:20 2013 GMT

As you can see the Validity date is off.
Its a defined date that I dont seem to be able to change.

Any ideas?
rafesl
Donator VIP
Donator VIP
 
Posts: 39
Joined: Mon Jul 16, 2012 11:48 am

Re: Can't enable HTTPS

Postby rafesl » Thu Jul 31, 2014 4:28 pm

For reference the time & date is set correcty (using internet ntp server)
rafesl
Donator VIP
Donator VIP
 
Posts: 39
Joined: Mon Jul 16, 2012 11:48 am

Re: Can't enable HTTPS

Postby rafesl » Thu Jul 31, 2014 4:29 pm

actually was just trying to set the time to manual rather than ntp and I got the following message

Current System Status: could not update field :__FILE__, hwclock -w -u, err= 1
rafesl
Donator VIP
Donator VIP
 
Posts: 39
Joined: Mon Jul 16, 2012 11:48 am

Re: Can't enable HTTPS

Postby Jocko » Thu Jul 31, 2014 6:00 pm

Hi rafesl
rafesl wrote:
Validity Nov 16 12:02:20 2011 GMT - Nov 15 12:02:20 2013 GMT

As you can see the Validity date is off.
Its a defined date that I dont seem to be able to change.

Any ideas?
If I remember well it is a default value. So do you try to set fully a certificate ? Validity period is set when you save your custom certificate for two years.
For reference the time & date is set correcty (using internet ntp server)
This is not the issue.
actually was just trying to set the time to manual rather than ntp and I got the following message

Current System Status: could not update field :__FILE__, hwclock -w -u, err= 1
So that means that there is an issue with rpi kernel. As I don't have one, you must wait Fvdw for more details
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't enable HTTPS

Postby fvdw » Fri Aug 01, 2014 1:14 pm

the raspberry doesn't has a hardware clock on board. thats why you can not use the hwclock command
You need to set (and read) time using the "date" command
fvdw
Site Admin - expert
 
Posts: 13242
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Raspberry Pi 1, 2, 3 and 4

Who is online

Users browsing this forum: No registered users and 2 guests