Skip to content

JAMES-3673 : Separate trust store for S3#751

Merged
chibenwa merged 2 commits intoapache:masterfrom
ottoka:JAMES-3673
Nov 22, 2021
Merged

JAMES-3673 : Separate trust store for S3#751
chibenwa merged 2 commits intoapache:masterfrom
ottoka:JAMES-3673

Conversation

@ottoka
Copy link
Copy Markdown
Contributor

@ottoka ottoka commented Nov 16, 2021

Since James supports S3 blob storage access via HTTPS, it should be possible to configure a specific trust store for validating the S3 server certificate. This lets users "pin" this certificate, and better separate the trust realms of infrastructure and public services (SMTP, IMAP etc.).

This can be achieved in blob.properties with the usual set of configuration options for such cases, such as:

objectstorage.s3.truststore.path=/conf/s3trust.p12
objectstorage.s3.truststore.type=PKCS12
objectstorage.s3.truststore.secret=yoursecret
objectstorage.s3.truststore.algorithm=SunX509 

T-Shirt size M.

Copy link
Copy Markdown
Contributor

@chibenwa chibenwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

Copy link
Copy Markdown
Contributor

@Arsnael Arsnael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @ottoka and thanks for this nice contrib! I just have two little typo remarks, otherwise I'm good as well :)

Co-authored-by: Rene Cordier <rene.cordier@gmail.com>
@chibenwa chibenwa merged commit 398aa92 into apache:master Nov 22, 2021
@ottoka ottoka deleted the JAMES-3673 branch November 22, 2021 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants