mirror of
https://github.com/jberrenberg/docker-davmail.git
synced 2026-04-25 23:35:50 +03:00
[GH-ISSUE #5] davmail ssl #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-davmail-jberrenberg#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Apr 20, 2018).
Original GitHub issue: https://github.com/jberrenberg/docker-davmail/issues/5
Hello,
I cannot setup ssl following this site: http://davmail.sourceforge.net/sslsetup.html
Unable to bind server socket for SMTP on port 1025: Exception creating secured server socket : davmail.p12 (No such file or directory)Unable to bind server socket for POP on port 1110: Exception creating secured server socket : davmail.p12 (No such file or directory)Unable to bind server socket for IMAP on port 1143: Exception creating secured server socket : davmail.p12 (No such file or directory)Unable to bind server socket for CALDAV on port 1080: Exception creating secured server socket : davmail.p12 (No such file or directory)Unable to bind server socket for LDAP on port 1389: Exception creating secured server socket : davmail.p12 (No such file or directory)Is everything alright with your container?
Thanks
@jberrenberg commented on GitHub (May 7, 2018):
It looks to me as if you are missing the davmail.p12. You might need to mount it into the container via
-v /path/of/your/davmail.p12:/path/referenced/in/davmail.properties.@ghost commented on GitHub (May 10, 2018):
Thanks, but now i'm getting a diferente error:
My docker command:
@jberrenberg commented on GitHub (May 11, 2018):
Thats odd, the log indicates your keystore password is not
password, i just created a fresh keystore usingand started the container
It worked as expected.
Can you open your keystore using
or do you get an exception?
@ghost commented on GitHub (May 11, 2018):
No, i get this:
/etc/davmail $ keytool -list -keystore davmail.p12 -storepass password -storetyp
e PKCS12 -v
Keystore type: PKCS12
Keystore provider: SunJSSE
Your keystore contains 1 entry
Alias name: mykey
Creation date: May 10, 2018
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=davmailhostname.company.com, OU=davmail, O=sf, O=net
Issuer: CN=davmailhostname.company.com, OU=davmail, O=sf, O=net
Serial number: 1b0147da
Valid from: Thu May 10 10:41:02 GMT 2018 until: Sun May 07 10:41:02 GMT 2028
Certificate fingerprints:
MD5: B7:43:EE:D9:EF:06:CA:53:25:22:C3:33:52:48:A0:88
SHA1: 01:9F:8C:8F:39:B1:56:00:3E:0B:B5:59:E1:0B:95:08:3A:AE:D6:69
SHA256: 0F:12:0A:94:26:3E:6F:EA:28:15:B1:25:44:2F:46:E6:2A:E7:0C:4E:79:FA:2C:EF:80:6D:1B:18:DC:EB:80:C1
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
Extensions:
#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 2D E1 D9 CB CF EE 19 44 7B 47 CC C2 6D FD A3 7E -......D.G..m...
0010: 5D 18 C7 6E ]..n
]
]
@ghost commented on GitHub (May 11, 2018):
I got it to work but now :) when configuring thunderbird and i'm getting this errors:
My thunderbird conf: