Hi Everyone,
AuthorizeNet payment proceess I got error “E_WC_02: A HTTPS connection is required.”. why this error happen. What i do for it.Please Help me @sjpadgett , @stephenwaite
Hi @maryabisha,
I understand that you’ve encountered an issue with the HTTPS connection,
You can try out these steps and check.
S1:Use the command in linux terminal “openssl req -newkey rsa:2048 -nodes -keyout your_domain.key -x509 -days 365 -out your_domain.crt”
This command generates a self-signed SSL certificate (your_domain.crt) and its corresponding private key (your_domain.key).
S2:To enable the SSL module use this command - ”sudo a2enmod ssl”
S3:Completing the above steps For Apache, edit the virtual host file for your site:
“sudo nano /etc/apache2/sites-available/000-default.conf” or choose your conf file in the /etc/apache2/sites-available/ directory.
S4:In the config file modify and add these line
<VirtualHost *:443>
ServerName your_domain.com
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /path/to/your_domain.crt
SSLCertificateKeyFile /path/to/your_domain.key
Note:change the path of the SSL file where the two files are located.
# Other configurations specific to your site
</VirtualHost>
S5:Restart your apache server - “sudo systemctl restart apache2”
S6:Open your browser and visit https://your_domain.com or https://localhost or https://private_ip.
If you have any questions or need further assistance, please feel free to contact us at openemr.support@visolve.com.
-ViSolve AI Team