Skip to content

Localhost issue: OpenSSL error:1416F086 #2682

Answered by alexsoluweb
alexsoluweb asked this question in Q&A
Discussion options

You must be logged in to vote

I found out what was the problem.

If you are using php as an apache module and using the PHPINIDir for your vhost, then you might face this problem aswell.

Doing so, the default configuration (php.ini) file wasnt loaded (where i did put: openssl.cafile = /etc/ssl/cacert.pem, ...)

Solution

Put this into 'index.php' on your vhosted site (where you are using PHPmailer):
<?php echo phpinfo(); ?>

Then find the line: Loaded Configuration File
This is where you need to put the path of your CA bundle.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@alexsoluweb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by alexsoluweb
Comment options

You must be logged in to vote
3 replies
@Synchro
Comment options

@murraycollingwood
Comment options

@Synchro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants