Dolibarr ERP & CRM » Bugs » bug #1536 Erreur SSLLatest modifications
Answer now
Snapshot Details |
Submitted by: | Nicolas (microniko) | | Submitted on: | 2014-07-18 12:55 |
Last Modified On: | 2014-07-19 17:12 | |
Summary: | Erreur SSL |
Description: | J'obtiens l'erreur suivant en testant l'abonnement via le module Mailman :
51 SSL peer certificate or SSH remote key was not OK
Je pense que c'est car le certificat est signé par CaCert.
Il faudrait une option permettant d'ignorer les erreurs SSL. Merci. |
Step to reproduce bug: | We already have this line of code
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
into function callMailman.
Can you try to add
curl_setopt($cHandler, CURLOPT_SSL_VERIFYHOST, false);
|
Detected in version: | 3.5.3 | | Category: | Module: Mailman and SPIP |
Severity: | 6 | | OS Type/Version: | Linux krypton.microniko.net 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u1 i686 |
PHP version: | 5.4.4-14+deb7u12 | | Database type and version: | PostgreSQL 8.4.17 |
Status |
Status: | Need more info | | Assigned to: | None |
Resolution: | None | |
Comments- Marcos García 2014-07-19 22:59
- Not verifying a SSL certificate don't think it is the best option...
- Nicolas 2014-07-19 17:12
- J'ai ajouté la ligne suivante :
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
($ch et pas $cHandler)
et ça fonctionne. Merci beaucoup ! |
|