Mollie renewed SSL certificate

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
webshade
Posts: 30
Joined: 19 Apr 2017, 13:51

Mollie renewed SSL certificate

Post by webshade » 12 Dec 2019, 12:52

Mollie has updated their SSL certificate and now Omnipay has to be updated with the new SSL certificate. See https://status.mollie.com/

When is this fixed?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Mollie renewed SSL certificate

Post by aimeos » 12 Dec 2019, 13:00

There are no changes in the Omnipay driver for Mollie required because:
1. if you configured your custom API client to expect a specific certificate (which is discouraged) you will need to accommodate for this change.
This isn't the case AFAIK
2. If your API client connects from (very) outdated platforms you will need to verify that your system trusts the certificate issuer (USERTrust). Test the connection at https://test.mollie.com/
This is done in the operating system
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

webshade
Posts: 30
Joined: 19 Apr 2017, 13:51

Re: Mollie renewed SSL certificate

Post by webshade » 12 Dec 2019, 13:05

This is the error we get:

[curl] 60: SSL certificate problem: unable to get local issuer certificate [url] https://api.mollie.nl/v1/payments

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Mollie renewed SSL certificate

Post by aimeos » 12 Dec 2019, 13:24

Like said, make sure that you update the certificated in your operating system:
2. If your API client connects from (very) outdated platforms you will need to verify that your system trusts the certificate issuer (USERTrust).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

webshade
Posts: 30
Joined: 19 Apr 2017, 13:51

Re: Mollie renewed SSL certificate

Post by webshade » 12 Dec 2019, 13:36

I've never done this before. This is the first time this happens. I don't know where and how to update it.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Mollie renewed SSL certificate

Post by aimeos » 12 Dec 2019, 13:51

If you aren't hosting your web site yourself, you should ask your hoster because in that case you can't do it yourself.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

webshade
Posts: 30
Joined: 19 Apr 2017, 13:51

Re: Mollie renewed SSL certificate

Post by webshade » 12 Dec 2019, 16:38

I tested another webshop and that has no problems. It has something to do the with omnipay. It uses also an deprecated api v1 of Mollie.

webshade
Posts: 30
Joined: 19 Apr 2017, 13:51

Re: Mollie renewed SSL certificate

Post by webshade » 12 Dec 2019, 23:59

The certificates are updated but it's still not working! What is going wrong? Which curl-command is used in which file to make the connection? Maybe we can extend with "-k" parameter.

webshade
Posts: 30
Joined: 19 Apr 2017, 13:51

Re: Mollie renewed SSL certificate

Post by webshade » 13 Dec 2019, 13:49

I received an updated cacert.pem from Mollie and installed it but still get the same error message.
Can you explain how Aimeos connects to Mollie? Does it use a seperate certificate-file?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Mollie renewed SSL certificate

Post by aimeos » 13 Dec 2019, 14:38

Aimeos uses Omnipay and the omnipay-mollie driver:
https://github.com/thephpleague/omnipay-mollie

For details about how the mollie driver works, please ask the Omnipay guys. I think it uses the guzzle-http package (http://docs.guzzlephp.org/en/stable/) and Guzzle uses the PHP methods to connect to the Mollie server which uses the OpenSSL libraries. Something like that.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply