Okay
  Public Ticket #2890912
SMS Messages not working and SMS Notifications Panel not loading
Closed

Comments

  • Notumi INC started the conversation

    Having issues with Amelia as SMS Messages are not being sent and the SMS Notifications Panel is not loading.

  • [deleted] replied

    Hi Notumi

    Thank you for reaching out to us.

    Can you please check your error log for this

    4850721573.png

    If you can see this you will need to update your CA certificates. Please reach out to your hosting provider with this info, and they should know what needs to be done.

    If you still have the same issue please provide us with a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

  • Notumi INC replied

    Thank you Blazenga, where is this error log?

  • Notumi INC replied

    Hi Blazenka, we were able to correct the issue, it is a bit more complicated than the server certificate.

    The recent expiration of the DST Root CA X3 Expiration caused old versions of OpenSSL to loose trust on the Let's Encrypt root chain.  AmeliaSMS API makes use of this CA Root along with the newer ISRG Root X1.  This means that old versions of software will not trust the SSL Certificates issued by Let's Encrypt.

    This was causing our server to fail the connection back to Amelia's SMS API.

    $ curl https://smsapi.wpamelia.com/ curl: (60) SSL certificate problem: certificate has expired More details here: http://curl.haxx.se/docs/sslcerts.html

    There are two ways to correct this issue.

    1. Update the OpenSSL package to version 1.1.0 or later (openssl version will output which version is being used) 

    2. If unable to update OpenSSL you may modify Amelia's code to not verify the peer certificate

    PHP File to modify: <plugins>/ameliabooking/src/Application/Services/Notification/SMSAPIService.php

    Add the following below line 53:

    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

    More information on this issue can be found here: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

    https://community.letsencrypt.org/t/openssl-client-compatibility-changes-for-let-s-encrypt-certificates/143816

  • [deleted] replied

    Hi there

    Thank you for the update, we will make sure to save this for future reference.

    Do let us know if there is anything else we can assist you with.

    Have a wonderful day!