Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2015, 12:22 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default "Email Options" Set this to SSL/TLS with PHP 5.6?

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
Attached Images
File Type: jpg image_66228.jpg (74.2 KB, 0 views)
Reply With Quote
  #2  
Old 09-19-2015, 01:05 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 09-19-2015, 01:33 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 09-19-2015, 01:41 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #5  
Old 09-19-2015, 01:44 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am already doing this steps but this does not help. Please, do you have any other Suggestions?
Reply With Quote
  #6  
Old 09-22-2015, 03:15 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have any one can help me ? Please ....
Reply With Quote
  #7  
Old 09-22-2015, 03:26 PM
Kesha Kesha is offline
 
Join Date: Apr 2010
Location: Canada
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-22-2015, 05:02 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [~]#
Reply With Quote
  #9  
Old 09-22-2015, 06:46 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 09-23-2015, 05:24 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doing all thing but does not get fixed.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04137 seconds
  • Memory Usage 2,270KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete