Hi,
I have spent one full day trying different combinations trying to get
Gitlab SMTP email to work with Gmail.
As far as I can get is to get this error, read server certificate B:
certificate verify failed.
1.
{"class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"ActionMailer::DeliveryJob","queue":"mailers","args":[{"job_class":"ActionMailer::DeliveryJob","job_id":"4b813e73-7e59-4989-b12f-549b41454679","queue_name":"mailers","arguments":["DeviseMailer","confirmation_instructions","deliver_now",{"_aj_globalid":"gid://gitlab/User/1"},"gDpjwNKx2gQ1g3VDmysi",{"to":"[email protected]","_aj_symbol_keys":["to"]}],"locale":"en"}],"retry":3,"jid":"deb7c4a22742bf9398b6ac89","created_at":1512116321.8644106,"enqueued_at":1512116351.0043297,"error_message":"SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify
failed","error_class":"OpenSSL::SSL::SSLError","failed_at":1512116322.7391648,"retry_count":1,"retried_at":1512116351.4643786},"jobstr":"{\"class\":\"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper\",\"wrapped\":\"ActionMailer::DeliveryJob\",\"queue\":\"mailers\",\"args\":[{\"job_class\":\"ActionMailer::DeliveryJob\",\"job_id\":\"4b813e73-7e59-4989-b12f-549b41454679\",\"queue_name\":\"mailers\",\"arguments\":[\"DeviseMailer\",\"confirmation_instructions\",\"deliver_now\",{\"_aj_globalid\":\"gid://gitlab/User/1\"},\"gDpjwNKx2gQ1g3VDmysi\",{\"to\":\"[email protected]\",\"_aj_symbol_keys\":[\"to\"]}],\"locale\":\"en\"}],\"retry\":3,\"jid\":\"deb7c4a22742bf9398b6ac89\",\"created_at\":1512116321.8644106,\"enqueued_at\":1512116351.0043297,\"error_message\":\"SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify
failed\",\"error_class\":\"OpenSSL::SSL::SSLError\",\"failed_at\":1512116322.7391648,\"retry_count\":0}"}
2.
2017-12-01T08:19:11.465Z 677 TID-1spyc0 WARN: OpenSSL::SSL::SSLError:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
certificate verify failed
Using image: sameersbn/gitlab:10.2.2
My configuration
- SMTP_ENABLE=true
- SMTP_DOMAIN=mydomain.com
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
- [email protected]
- SMTP_PASS=mypassword
- SMTP_TLS=false
- SMTP_OPENSSL_VERIFY_MODE=peer
- SMTP_AUTHENTICATION=login
- SMTP_ENABLE_STARTTLS_AUTO=true
Really, its so difficult, why is it so difficult? What am I doing wrong?
would really appreciate some help. Has anyone managed to get it to work at
all?
Thanks, Philip
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/9829f46b-6cda-4f45-b0c3-fe5d5e7ad7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.