Problem loading switch interface in Chrome on Mac

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
nelson05
Member
 
Posts: 47
Joined: Mon Nov 03, 2014 2:35 am
Location: Springville, CA
Has thanked: 11 times
Been thanked: 11 times

Problem loading switch interface in Chrome on Mac

Mon Nov 03, 2014 2:56 pm

Here is the message I receive... can't seem to get past this warning and access the UI of the switch unlike other HTTPS sites with untrusted certificates (like ubiquiti equipment) where once you click Advanced there is a Proceed button, which lets you in.


Screenshot 2014-11-02 22.36.54.png
Screenshot 2014-11-02 22.36.54.png (255.48 KiB) Viewed 8215 times

User avatar
sirhc
Employee
Employee
 
Posts: 7398
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1604 times
Been thanked: 1322 times

Re: Problem loading switch interface in Chrome on Mac

Mon Nov 03, 2014 3:15 pm

Hi Nelson,

Is this Chrome on Windows or MAC?

What version of OS is your Windows or MAC?

What version of Chrome?

What version of the firmware are you using on the switch?

I have not run into this issue with Chrome on a windows 7 machine, ever.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
sirhc
Employee
Employee
 
Posts: 7398
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1604 times
Been thanked: 1322 times

Re: Problem loading switch interface in Chrome on Mac

Mon Nov 03, 2014 4:09 pm

This is caused but the default Linux date being so OLD, 1969 to 1970.

You can fix it by setting the correct date on the switch via NTP service and then run this command at the Linux console

openssl req -new -x509 -keyout /etc/config/lighttpd.pem -out /etc/config/lighttpd.pem -days 3650 -nodes -subj "/"

Remember when you console into the switch you are first landed on our CLI not the Linux shell so you have to type "cmd" and press enter to drop to the linux shell.

After you are done type "exit" and press return to return to the CLI and then type "exit" and press enter again to exit the console.

This will be fixed in the next release of firmware later today.

Thanks for pointing it out.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
lligetfa
Associate
Associate
 
Posts: 1191
Joined: Sun Aug 03, 2014 12:12 pm
Location: Fort Frances Ont. Canada
Has thanked: 306 times
Been thanked: 381 times

Re: Problem loading switch interface in Chrome on Mac

Mon Nov 03, 2014 4:26 pm

I noticed that I cannot paste that command to the console. Is it just me or by design? If I copy text from the console, I then have the option to paste that so the copy and paste options are there.

User avatar
sirhc
Employee
Employee
 
Posts: 7398
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1604 times
Been thanked: 1322 times

Re: Problem loading switch interface in Chrome on Mac

Mon Nov 03, 2014 4:47 pm

Not in our HTML console no, work in progress!

If you are using a shell program like PUTTY yes.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
nelson05
Member
 
Posts: 47
Joined: Mon Nov 03, 2014 2:35 am
Location: Springville, CA
Has thanked: 11 times
Been thanked: 11 times

Re: Problem loading switch interface in Chrome on Mac

Wed Nov 05, 2014 6:28 pm

Unfortunately the procedure still hasn't solved the issue on Chrome on the Mac. While the date of the certificate is correct now, with it expiring in 2024, I still receive a NET::ERR_CERT_INVALID error stating:

Screenshot 2014-11-05 14.24.25.png
Screenshot 2014-11-05 14.24.25.png (185.09 KiB) Viewed 8196 times



I received this message after updating to the newest firmware and running the command posted in the thread, which seemed to successfully update the certificate since it now displays a new date.

Any ideas? Would really like to be able to use the Mac and Chrome to monitor the switches.

Thanks.

User avatar
lligetfa
Associate
Associate
 
Posts: 1191
Joined: Sun Aug 03, 2014 12:12 pm
Location: Fort Frances Ont. Canada
Has thanked: 306 times
Been thanked: 381 times

Re: Problem loading switch interface in Chrome on Mac

Wed Nov 05, 2014 6:39 pm

For Chrome on ubuntu I would normally create a custom shortcut with the following parms to ignore cert errors and start it in app mode so there is no URL bar to navigate away with.
/opt/google/chrome/google-chrome --test-type --ignore-certificate-errors --app=https://192.168.1.207

Unfortunately, something broke and I can no longer use Chrome on ubuntu to access the switch.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Problem loading switch interface in Chrome on Mac

Fri Nov 07, 2014 12:55 pm

nelson05 wrote:Unfortunately the procedure still hasn't solved the issue on Chrome on the Mac. While the date of the certificate is correct now, with it expiring in 2024, I still receive a NET::ERR_CERT_INVALID error stating:


I received this message after updating to the newest firmware and running the command posted in the thread, which seemed to successfully update the certificate since it now displays a new date.

Any ideas? Would really like to be able to use the Mac and Chrome to monitor the switches.

Thanks.


Chrome on Mac OS is really fussy. Anyways, I was able to get it working by using this command (just a small change from the above one):

openssl req -new -x509 -keyout /etc/config/lighttpd.pem -out /etc/config/lighttpd.pem -days 3650 -nodes -subj "/C=US"

Of course make sure the time is correct on the switch before doing that.
After that you need to restart the web server (so it loads the new certificate) with this command:

/etc/init.d/lighttpd restart

Then reload the webpage in Chrome and it should allow you to continue.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Problem loading switch interface in Chrome on Mac

Fri Nov 07, 2014 12:57 pm

lligetfa wrote:For Chrome on ubuntu I would normally create a custom shortcut with the following parms to ignore cert errors and start it in app mode so there is no URL bar to navigate away with.
/opt/google/chrome/google-chrome --test-type --ignore-certificate-errors --app=https://192.168.1.207

Unfortunately, something broke and I can no longer use Chrome on ubuntu to access the switch.


Seems to work fine for me using Chrome 38.0.2125.111 on Ubuntu 12.04.03 (32 bit). Maybe try the command I just posted above and see if that helps?

User avatar
lligetfa
Associate
Associate
 
Posts: 1191
Joined: Sun Aug 03, 2014 12:12 pm
Location: Fort Frances Ont. Canada
Has thanked: 306 times
Been thanked: 381 times

Re: Problem loading switch interface in Chrome on Mac

Fri Nov 07, 2014 2:21 pm

That was just what I needed. Working fine now on Chrome/ubuntu. Thanks Eric, you da man!

Next
Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 3 guests