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

Authorize.net is changing the SSL/TLS certificates #41

Open
jtphelan opened this issue Sep 30, 2024 · 4 comments
Open

Authorize.net is changing the SSL/TLS certificates #41

jtphelan opened this issue Sep 30, 2024 · 4 comments

Comments

@jtphelan
Copy link

Authorize.net is changing the SSL/TLS certificates that applications and websites use to communicate with its systems, moving from Entrust to DigiCert. This change will impact both browser-based and server-to-server interactions. Per authorize.net, this module will need to be updated by Oct 23, 2024.

https://support.authorize.net/knowledgebase/Knowledgearticle/?code=KA-05545

@mglaman
Copy link
Collaborator

mglaman commented Oct 1, 2024

The SDK has the following logic:

        if (isset($config['certificate_verify'])) {
            $this->certificateVerify = $config['certificate_verify'];
        } elseif ($cert = ini_get('curl.cainfo')) {
            $this->certificateVerify = $cert;
        } else {
            $this->certificateVerify = __DIR__ . '/../resources/cert.pem';
        }

The shipped certs are a fallback incase curl.cainfo isn't available, which it should be. However, we can update this to be safe.

@btmash
Copy link

btmash commented Oct 14, 2024

Updating it would make a lot of sense as it ensures folks that don't have it set up would not be impacted. I downloaded the files from https://support.authorize.net/knowledgebase/Knowledgearticle/?code=000003009 but the combined cert file is quite a deal smaller than expected. Should anything else be getting added?

@btmash
Copy link

btmash commented Oct 18, 2024

I think this is a pretty critical piece as I have a site on Acquia and looking at the phpinfo from there, curl.cainfo is not set.

As an alternative, do I just need a cacert.pem from https://curl.se/docs/caextract.html and then point to that in my php.ini file (via curl.cainfo)?

@rmcveigh
Copy link

PR #42 seems related to this issue.

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

No branches or pull requests

4 participants