Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public.api.bunq.com is using wrong certificate #11

Closed
LauLaman opened this issue Aug 3, 2017 · 3 comments
Closed

public.api.bunq.com is using wrong certificate #11

LauLaman opened this issue Aug 3, 2017 · 3 comments

Comments

@LauLaman
Copy link
Contributor

LauLaman commented Aug 3, 2017

when trying to run vendor/bin/bunq-install i encountered the following error:

An unexpected error occurred: cURL error 51: SSL: no alternative certificate subject name 
matches target host name 'public.api.bunq.com' 
(see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

so i checked the url public.api.bunq.com using my browser.
The server is returning the certificate for the sandbox environment:
screen shot 2017-08-03 at 17 44 45

Ps. when in need of a new certificate checkout https://letsencrypt.org/

@dnl-blkv
Copy link
Contributor

dnl-blkv commented Aug 3, 2017

@LauLaman Thank you for the issue! We are well-aware of Letsencrypt. The real problem, however, is in the wrong URL accidentally put to the ApiContext :)

The URL of our Production API is not https://public.api.bunq.com/ and never was so. It is https://api.bunq.com.

@OGKevin OGKevin added the bug label Aug 3, 2017
@LauLaman
Copy link
Contributor Author

LauLaman commented Aug 3, 2017

i see.

i've changed this line. i got one step further. Now stumbling on #10...

@OGKevin
Copy link
Contributor

OGKevin commented Aug 5, 2017

Fix applied in 2d37046.

Closing the issue, feel free to reopen if it is still not working 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants