This repository has been archived by the owner on May 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Make the Mattermost client accept untrusted certificates #66
Labels
Comments
have you tried adding
to your config.json |
{
"Directory": "./data/",
"Profiles":[
{
"Name": "*****",
"Channels": ["#*****"],
"Email":{
"ImapServer": "******:993",
"Username": "******@******",
"Password": "******",
"StartTLS": true,
"TLSAcceptAllCerts": true
},
"Mattermost":{
"Server": "http://******",
"Team": "******",
"User": "******",
"Password": "******",
"UseAPIv3": false,
"TLSAcceptAllCerts": true
},
"RedirectBySubject": false
}
]
}
…On пн, лют 5, 2018 at 4:40 PM, Carsten Seeger ***@***.***> wrote:
have you tried adding
"TLSAcceptAllCerts": true
to your config.json
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Please test with the last commit using |
Still same.
DEBG TechSupport 21:10:17 MailProviderImap.CheckNewMessage:
PostMail uid: 5534
DEBG TechSupport 21:10:17 Login user:***@**** team:it-section
url:http://******:**
DEBG TechSupport 21:10:18 CMVEaA OK UID FETCH completed
DEBG TechSupport 21:10:47 Mattermost Api V4 version:
EROR TechSupport 21:10:47 MailProviderImap.CheckNewMessage: Error
handler
EROR TechSupport 21:10:47 MatterMail.InitMatterMail Error on check
new messsage: execute MailHandler: login on Mattermost to post mail
message: login on mattermost V4: http://*****/api/v4/users/login:
model.client.connecting.app_error, Post
http://******/api/v4/users/login: dial tcp *********: i/o timeout
DEBG TechSupport 21:10:47 check new message: execute MailHandler:
login on Mattermost to post mail message: login on mattermost V4:
http://*******/api/v4/users/login: model.client.connecting.app_error,
Post http://*******/api/v4/users/login:
dial tcp *****: i/o timeout
INFO TechSupport 21:10:47 Try again in 30s
…On ср, лют 7, 2018 at 2:32 PM, Rodrigo ***@***.***> wrote:
Please test with the last commit using "TLSAcceptAllCerts": false,
was fixed an issue with StartTLS
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The problem seems to be when Mattermail tries to login to the Mattermost.
The login connection reaches timeout, check the Mattermost configuration in config.json and check your network configuration |
Yup. I know, I've checked logs.
I think the trouble is because unsigned SSL-cert in Mattermost.
We can ignore unsigned certificate on mail server, but can't ignore
unsigned cert on Mattermost. Can you add an option like
"TLSAcceptAllCerts" for connection between Mattermail and Mattermost?
…On чт, лют 8, 2018 at 1:21 PM, Rodrigo ***@***.***> wrote:
The problem seems to be when Mattermail tries to login to the
Mattermost.
login on Mattermost to post mail message:
login on mattermost V4:
http://*****/api/v4/users/login:
model.client.connecting.app_error, Post
http://******/api/v4/users/login:
dial tcp *********:
i/o timeout
The login connection reaches timeout, check the Mattermost
configuration in config.json and check your network configuration
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I don't know if it's correct but in your log I can see |
could be a my fault, but nope. It doesn't connect with nor without the
"s".
…On чт, лют 8, 2018 at 1:42 PM, Rodrigo ***@***.***> wrote:
I don't know if it's correct but in you log I can see http: instead
of https:
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Great, I'll to do some tests to see if it's possible to make the Mattermost client to accept all the certificates. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey.
Encountered a problem with connection to Mattermost server (same VM as Mattermail).
I can connect to mail account, I can see new letters, but Mattermail cannot post in Mattermost channel because of untrusted certificate.
Is there a method to override this?
The text was updated successfully, but these errors were encountered: