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

Use proxy to get cacert.pem file #13

Merged
merged 2 commits into from
Aug 25, 2016
Merged

Conversation

dchambelant
Copy link
Contributor

Hello,
My wordpress installation are behind a proxy. Some mouths after installing Authorizer, il get error 500 while connectiong to worpdress. I found that Authorizer get a file on Internet without using proxy.
I make this patch. If Wordpress installation is behind a proxy. Adding proxy context to get CA certs from Mozilla. Also it get cacert.pem with secure url (https).

Could you please add this to your next release of Authorizer. Thanks

@figureone
Copy link
Member

Awesome, thanks! I'll review this and get it included in the next release.

@figureone figureone merged commit f72b2c3 into uhm-coe:master Aug 25, 2016
@figureone
Copy link
Member

New version is out with this feature. Thanks for your contribution!
https://wordpress.org/plugins/authorizer/changelog/

@figureone
Copy link
Member

Aloha, the method that Authorizer uses to download cacert.pem has been changed from file_get_contents() to wp_safe_remote_get(). Please let me know if you run into problems with proxy configuration using version 2.6.4.
https://wordpress.org/plugins/authorizer/changelog/

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

Successfully merging this pull request may close these issues.

3 participants