Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Invalid certificate for restcountries.eu #251

Closed
meta72 opened this issue Sep 22, 2021 · 5 comments
Closed

Invalid certificate for restcountries.eu #251

meta72 opened this issue Sep 22, 2021 · 5 comments

Comments

@meta72
Copy link

meta72 commented Sep 22, 2021

The SSL certificate for restcountries.eu is issued for shortener.secureserver.net making requests fail. Please update your certificate.

@mcknight89
Copy link

The same issue, if I ignore the SSL, I get a Cloudflare error so my guess is the service is just down.

@wollanup
Copy link

it may help :

$ openssl version
> OpenSSL 1.1.0l  10 Sep 2019
$ curl "https://restcountries.eu/rest/v2/all"
> curl: (51) SSL: no alternative certificate subject name matches target host name 'restcountries.eu'

With another server:

$ openssl version
> OpenSSL 1.1.1j  16 Feb 2021
$  curl "https://restcountries.eu/rest/v2/all"
> [{...}] JSON OK

@wollanup
Copy link

Also checked https://www.ssllabs.com/ssltest/analyze.html?d=restcountries.eu
Result seems bad with message

 This server's certificate is not trusted. 

@amatosg
Copy link

amatosg commented Sep 22, 2021

you can use https://restcountries.com/ instead :) (it's a clone)

@ePascalC
Copy link
Collaborator

Message from apilayer support: We no longer support restcountries.eu; however, we do offer a free tier of a similar API on countrylayer.com. See https://countrylayer.com/documentation/

meta72 added a commit to meta72/restcountries that referenced this issue Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants