Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self-signed certificates for smtp are rejected #760

Closed
orthagh opened this issue Jun 23, 2016 · 8 comments
Closed

self-signed certificates for smtp are rejected #760

orthagh opened this issue Jun 23, 2016 · 8 comments
Milestone

Comments

@orthagh
Copy link
Contributor

orthagh commented Jun 23, 2016

Example of log :

*** PHP Warning(2): stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Maybe, we could add an option (disabled by default) to smtp setting to disable phpmailer checks.
Ex :

if ($CFG_GLPI['smtp_dont_check_certificate']) {
   $this->SMTPOptions = array(
                               'ssl' => array(
                                   'verify_peer' => false,
                                   'verify_peer_name' => false,
                                   'allow_self_signed' => true
                               ));
}
@orthagh orthagh added this to the 9.1 milestone Jun 23, 2016
@orthagh orthagh changed the title self-signed certificate for smtp are rejected self-signed certificates for smtp are rejected Jun 23, 2016
@satyan01
Copy link

not fixed the issue is the same after upgrade

@orthagh
Copy link
Contributor Author

orthagh commented Jun 24, 2016

Actually, this issue and #761 are not part of glpi.
It's a proposal.

I don't know what you do by "after upgrade" but if you got the official glpi master version, it's not (yet) in

@satyan01
Copy link

I have modified directly files and it works. Thank you very much

@satyan01
Copy link

I knew that was included in glpi master

@orthagh
Copy link
Contributor Author

orthagh commented Jun 24, 2016

Great !

@satyan01
Copy link

Maybe you could help me on another issue with fusioninventory, timeslot are not displayed
the issue is Uncaught ReferenceError: d3 is not defined

@satyan01
Copy link

I can't do network scan anymore due to this issue

@orthagh
Copy link
Contributor Author

orthagh commented Jun 24, 2016

this is offtopic, but please test my version https://github.com/orthagh/fusioninventory-for-glpi and open issue here if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants