vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   "Email Options" Set this to SSL/TLS with PHP 5.6? (https://vborg.vbsupport.ru/showthread.php?t=320291)

Nirjonadda 09-19-2015 12:22 PM

"Email Options" Set this to SSL/TLS with PHP 5.6?
 
1 Attachment(s)
I am getting error from Diagnostics Email test if "Email Options" Set this to SSL/TLS with PHP 5.6, If i am set Email Options setting to None then vBulletin Email Test are working but why i am cannot get working "Email Options" Set this to SSL/TLS with PHP 5.6? PHP 5.5 are still working With SSL/TLS. Please any one can help me ?


Code:

------------------------------------------
The mailing function returned an error while trying to send the mail.
The following errors were outputted by PHP when attempting to send mail:

PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in ..../includes/class_mail.php on line 757

PHP Warning: fsockopen(): Failed to enable crypto in ..../includes/class_mail.php on line 757

PHP Warning: fsockopen(): unable to connect to ssl://na.nirmoladda.com:465 (Unknown error) in ..../includes/class_mail.php on line 757

PHP User Warning: Unable to connect to SMTP server in ..../includes/class_mail.php on line 716


Dave 09-19-2015 01:05 PM

Well the error states "certificate verify failed" which means that the SSL/TLS certificate of the mail server is either invalid/expired/does not exist.

I believe the certificate check can be disabled, but that requires a modification to the class_mail.php file of vBulletin.

Nirjonadda 09-19-2015 01:33 PM

1 Attachment(s)
Please can you let me know, How to reinstalling the certificate mail server for cPanel? I am not using https. Can you post here the modification to the class_mail.php file of vBulletin for disable the certificate check?

Attachment 153369

Dave 09-19-2015 01:41 PM

Looked at the function but I don't think it can be disabled since it's built into the fsockopen function of PHP.

Other people managed to solve it by making some other changes:
http://forum.directadmin.com/showthread.php?t=50885
http://akrabat.com/ssl-certificate-v...on-on-php-5-6/

Nirjonadda 09-19-2015 01:44 PM

I am already doing this steps but this does not help. Please, do you have any other Suggestions?

Nirjonadda 09-22-2015 03:15 PM

Have any one can help me ? Please ....

Kesha 09-22-2015 03:26 PM

Make sure ca-certificates is up to date and then try running the command `update-ca-certificates` as root in Terminal. If that still doesn't work for you, as Dave explained, take a look at those URLs. If not, you may want to check out alternative ways to send emails.

Nirjonadda 09-22-2015 05:02 PM

Not working the command `update-ca-certificates` as root in Terminal.

Code:

login as: root
Using keyboard-interactive authentication.
Password:
Last login: Tue Sep 22 14:59:26 2015 from 151.55.154.92
root@aa [~]# update-ca-certificates
-bash: update-ca-certificates: command not found
root@aa [~]#


Dave 09-22-2015 06:46 PM

Are you using CentOS? This link explains how to do it on different operating systems.

Also you probably want to remove your IP address from that post.

Nirjonadda 09-23-2015 05:24 PM

Doing all thing but does not get fixed.


All times are GMT. The time now is 04:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete