• Resolved juanka94

    (@juanka94)


    Hello,

    When I configure the plugin and do the test I get an openssl error, I checked and the ssl certificate is well created in my virtualmin server, I don’t know what could be happening.

    Does anyone know where the error could be?

    where it says (mydomain) it really says my domain, thank you.

    Thanks and greetings.

    Attached is the error message:

    Versions:
    WordPress: 6.4.3
    WordPress MS: No
    PHP: 8.1.2-1ubuntu2.14
    WP Mail SMTP: 4.0.2
    
    Parameters:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host. The connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL error messages:
    error:0A000086:SSL routines::certificate verification failedSMTP server error: EXIT command failed Detail: ?? 2??′A$???綠????( jHG?d?a????? ?#4NPg?n??B?U.????????mu?{?X}?-'?
    Host: mail.mydomain.com (my domain is in mydomain)
    Port: 587
    SMTPSecure : tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)
    
    Server:
    OpenSSL: OpenSSL 3.0.2 March 15, 2022
    
    Depuration:
    Email Source: WP Mail SMTP Pro
    Mailer: Another SMTP
    SMTP Error: Could not connect to host SMTP Could not connect to server SMTP Server Error: Could not connect to server
    
    SMTP Debugging:
    2024-03-09 18:06:29 Connection: opening to mail.mydomain.com:587, timeout=300, options=array() (modified by me putting my real domain)
    
    2024-03-09 18:06:29 Connection: open
    
    2024-03-09 18:06:29 SERVER -> CLIENT: 220 vmi4778562.contaboserver.net ESMTP Postfix (Ubuntu)
    
    2024-03-09 18:06:29 CLIENT -> SERVER: EHLO mydomain.com (modified by me, it says my real domain)
    
    2024-03-09 18:06:29 SERVER -> CLIENT: 250-vmi1456702.contaboserver.net250-PIPEL250-SIZE 102479600150-VRFY250-ETRN657850-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250 -ENHANCEDSTATUSCODES250-8BITMIME250-DSN250-SMTPUT F8250 FRAGMENTATION
    
    2024-03-09 18:06:29 CLIENT -> SERVER: STARTTLS
    
    2024-03-09 18:06:29 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    
    2024-03-09 18:06:29 Connection error. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error Messages: error: 0A000086: SSL routines:: certificate verification failed [/home/somes/public_html/wp-includes/PHPMailer /SMTP.php line 476]
    
    SMTP error: Could not connect to SMTP host. The connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error Messages: error: 0A000086: SSL routines:: certificate verification failed
    
    2024-03-09 18:06:29 CLIENT -> SERVER: EXIT
    
    2024-03-09 18:06:29
    
    2024-03-09 18:06:29
    
    2024-03-09 18:06:29 Connection: closed
    
    SMTP Error: Could not connect to SMTP host. The connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error Messages: error: 0A000086: SSL routines:: certificate verification failed

    Thanks and greetings.

Viewing 1 replies (of 1 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @juanka94,

    Thanks for reaching out! The error message you provided, “0A000086:SSL routines::certificate verify failed,” indicates a problem with SSL certificate verification. This error can occur when the SSL certificate presented by the email server cannot be properly verified by the OpenSSL library.

    Please get in touch with your hosting support and they should be able to assist you further.

    I hope this helps. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘OpenSSL error with SSL certificate enabled on virtualmin server.’ is closed to new replies.