-
Notifications
You must be signed in to change notification settings - Fork 1
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
MARP-1453: Truststore for mailstore connector #37
MARP-1453: Truststore for mailstore connector #37
Conversation
Adapt demo
- Fixed wrong issue is thrown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should you check the dev build or ignore that build?
CertificateException, IOException, KeyManagementException { | ||
TrustManagerFactory tmFactory = initDefaultTrustManagerFactory(); | ||
// Backup default Certificates | ||
X509TrustManager defaultX509CertTM = getFirstX509TrustManagerFromFactory(tmFactory); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the value of defaultX509CertTM
be null?
If yes, maybe the system will throw NullPointerException somewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Implement SSLContext
Adapt demo