SSL Verification fails after Authentication redirection

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
vincejah
Posts: 81
Joined: 21 Jan 2015, 09:16

SSL Verification fails after Authentication redirection

Post by vincejah » 04 Jul 2016, 20:58

Hi Netatmo Team,

Starting this afternoon, I am experiencing issues after 3rd party authentication redirection back to my website (datatmo.com). SSL Certificate verification always fails while it used to work without any issue up to now. This is a major issue that prevents users to successfully login.

Have you changed something in your side that could be the cause of this issue?

Thanks,
Vincent

seitentools
Posts: 7
Joined: 03 Nov 2015, 19:44

Re: SSL Verification fails after Authentication redirection

Post by seitentools » 04 Jul 2016, 21:08

Hi Netatmo and vincejah,

Since today I get the following message using your PHP API to access:
WARNING ! SSL_VERIFICATION has been disabled since ssl error retrieved. Please check your certificate http://curl.haxx.se/docs/sslcerts.html WARNING ! SSL_VERIFICATION has been disabled since ssl error retrieved. Please check your certificate http://curl.haxx.se/docs/sslcerts.html
Tried it on two differente servers and got the same error. Did you guys change something?

Thanks

PierreLannoy
Posts: 9
Joined: 23 Oct 2015, 18:42
Contact:

Re: SSL Verification fails after Authentication redirection

Post by PierreLannoy » 04 Jul 2016, 23:20

Hello all!
Same thing here! Any news on this?

Pierre
Author of Weather Station a free WordPress plugin to display data collected by Netatmo weather stations & Home Coaches.

seitentools
Posts: 7
Joined: 03 Nov 2015, 19:44

Re: SSL Verification fails after Authentication redirection

Post by seitentools » 04 Jul 2016, 23:30

PierreLannoy wrote:Hello all!
Same thing here! Any news on this?

Pierre
Sadly not.

skuske
Posts: 148
Joined: 13 Dec 2014, 15:11

Re: SSL Verification fails after Authentication redirection

Post by skuske » 05 Jul 2016, 04:32

Same here. myatmo no longer works. All API calls except for the authentication calls no longer work and I had to temporarily remove myatmo from the app store because of that.

The only way to get around that is by explicitly not checking the SSL validity. However, that requires an app update... If you access api.netatmo.com via a browser, you can check the certificate and you will notice that it must have been updated recently as it shows pretty fresh dates. If you access api.netatmo.com from Safari on your iPhone: then you get a certificate warning. So: there must be something wrong with the certificate...

@netatmo: if there is anything you can do to fix that: PLEASE DO THAT ASAP, as people are angry and blame us developers!

@claire: if you read that: please ask your developers to have a look into this asap!!!

Thanks!

Stefan
Download myatmo from the iTunes AppStore at

https://itunes.apple.com/us/app/myatmo/ ... &ls=1&mt=8

FSS
Posts: 3
Joined: 21 Mar 2016, 06:56

Re: SSL Verification fails after Authentication redirection

Post by FSS » 05 Jul 2016, 08:21

Netatmo team,

I am really wondering how software changes are communicated and validated. I strongly recommend to change to a professional behavior - including release notes to developers in case of API changes.

Anyhow, after 24h a company statement on this issue is more that expected.

Best regards
Frank

skuske
Posts: 148
Joined: 13 Dec 2014, 15:11

Re: SSL Verification fails after Authentication redirection

Post by skuske » 05 Jul 2016, 08:24

I did some further investigation and found out this:

The SSL certificate for this URL:

https://api.netatmo.net/oauth2/token

seems to be OK - no security warning if you access the URL from Safari on an iOS device.

BUT: if you access

https://api.netatmo.com/api/getstationsdata

for example, Safari says that the installed certificate is invalid. So, it looks like to me netatmo mixed up some certificates when they installed a new one yesterday...

I honestly hope that netatmo gets that fixed asap. A frontend is only as good as it's backend, and users always blame the backend first. @netatmo: PLEASE get that sorted out quickly!
Download myatmo from the iTunes AppStore at

https://itunes.apple.com/us/app/myatmo/ ... &ls=1&mt=8

id001
Posts: 3
Joined: 05 Jul 2016, 08:42

Re: SSL Verification fails after Authentication redirection

Post by id001 » 05 Jul 2016, 08:58

The problem is that the server's certificate chain is incomplete.

Temporary fix is to install the intermediate certifictate from GoDaddy Certificate Chain - G2 https://certs.godaddy.com/repository

Havok
Posts: 73
Joined: 02 Jul 2015, 12:57

Re: SSL Verification fails after Authentication redirection

Post by Havok » 05 Jul 2016, 09:15

Hi,

Same problem for me ! Application don't work any more since yesterday...

skuske
Posts: 148
Joined: 13 Dec 2014, 15:11

Re: SSL Verification fails after Authentication redirection

Post by skuske » 05 Jul 2016, 09:39

id001 wrote:Temporary fix is to install the intermediate certifictate from GoDaddy Certificate Chain - G2 https://certs.godaddy.com/repository
You mean installing this on the target device will help? That does not seem to work for iOS devices... Just installed all those intermediate certificates: no change. Still not working. :/

Stefan
Download myatmo from the iTunes AppStore at

https://itunes.apple.com/us/app/myatmo/ ... &ls=1&mt=8

Post Reply

Return to “Netatmo API”