-
Notifications
You must be signed in to change notification settings - Fork 35
HTTPS How to
Due to popular demand, here are the steps to use DoliWoo without paying for a certificate:
If your servers hosts both Dolibarr and WooCommerce (which is not recommended), it's better to have a fully qualified domain name to point to. Just edit your /etc/hosts
file and add something like:
127.0.0.1 dolibarr.localhost.localdomain # IPv4
::1 dolibarr.localhost.localdomain # IPv6
See Wikipedia for more informations.
Next, you have to obtain and install a certificate on the Dolibarr webserver.
These days, you can use Let's Encrypt which greatly simplifies the process.
The alternative is to use a self-signed certificate and add it to your server's trust store. This won't be possible if you're using a shared hosting.
Check the manual of your webserver software or your hosting provider for the required steps to install the certificate.
If you're really desperate about using a certificate that's not trusted, you'll have to modify the code. Some pointers are available at stackoverflow
You will have to know what you are doing. We won't help you. You're on your own. Please stop asking.
©2015 GPC.solutions
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation ; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at https://www.gnu.org/licenses/fdl-1.3.html.