WXforum.net

Weather Station Hardware => Blitzortung => Topic started by: saratogaWX on July 12, 2022, 10:20:57 AM

Title: Oops.. data.blitzortung.org SSL cert expired
Post by: saratogaWX on July 12, 2022, 10:20:57 AM
Looks like auto-renew for the LetsEncrypt cert for data.blitzortung.org expired Tue, 12 Jul 2022 04:50:11 GMT so currently, HTTPS does not work.  HTTP does still work, so temporarily change your scripts using the site to http: from https:
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: miraculon on July 12, 2022, 11:00:26 AM
Are the lines in BOmapgen-inc.php?

I see these:

Code: [Select]
// strikes and stations path
//
# old $strikes_dir= 'http://' . $username . ':' . $password . '@'.$mainURL.'/Data_' . $region . '/Protected/Strikes/';
# new https://loginname:password@data.blitzortung.org/Data/Protected/Strikes_1/2013/08/08/10/30.json.gz
$strikes_dir= 'https://' . $username . ':' . $password . '@'.$mainURL.'/Data/Protected/Strikes_' . $region . '/';

# old $stations_file= 'http://' . $username . ':' . $password . '@'.$mainURL.'/Data_/' . $region . '/Protected/stations.json.gz';
# new https://loginname:password@data.blitzortung.org/Data/Protected/stations.txt.gz
$stations_file= 'https://' . $username . ':' . $password . '@'.$mainURL.'/Data/Protected/stations.json.gz';

# V1.07 - add query with last_strikes.php
$strikes_query = 'https://' . $username . ':' . $password . '@'.$mainURL.'/Data/Protected/last_strikes.php?number=999999';

Are the $strikes_dir, $stations_file, and $strikes_query lines what need to be changed?

Greg H.
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: saratogaWX on July 12, 2022, 11:24:47 AM
Yep.. those are the ones.
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: miraculon on July 12, 2022, 01:09:18 PM
Yep.. those are the ones.
Thanks, Ken. That seems to have fixed it.

Will we need to change back to 'https://' at some time in the future, if the cert is renewed?

Greg H.
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: Blitzortung on July 12, 2022, 01:24:27 PM
Dear all,

sorry for that, we switched servers and I thought the renewal notification was for the old server. Of course that shouldn't happen.

Both ways can be used http:// and https://

/Egon
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: saratogaWX on July 12, 2022, 04:24:57 PM
Thanks, Egon!
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: saratogaWX on July 12, 2022, 04:25:28 PM
Yep.. those are the ones.
Thanks, Ken. That seems to have fixed it.

Will we need to change back to 'https://' at some time in the future, if the cert is renewed?

Greg H.

Yes, and you can do that now :)
Title: Re: Oops.. data.blitzortung.org SSL cert expired
Post by: miraculon on July 12, 2022, 04:37:01 PM
Yep.. those are the ones.
Thanks, Ken. That seems to have fixed it.

Will we need to change back to 'https://' at some time in the future, if the cert is renewed?

Greg H.

Yes, and you can do that now :)

OK, just did. Earlier I renamed the one with https:// to "old" so I was able to just delete the file and rename it back to normal.

Greg H.