You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "dimas-b (via GitHub)" <gi...@apache.org> on 2026/03/09 22:17:54 UTC

[PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

dimas-b opened a new pull request, #3963:
URL: https://github.com/apache/polaris/pull/3963

   <!--
   ๐Ÿ“ Describe what changes you're proposing, especially breaking or user-facing changes. 
   ๐Ÿ“– See https://github.com/apache/polaris/blob/main/CONTRIBUTING.md for more.
   -->
   
   ## Checklist
   - [ ] ๐Ÿ›ก๏ธ Don't disclose security issues! (contact security@apache.org)
   - [ ] ๐Ÿ”— Clearly explained why the changes are needed, or linked related issues: Fixes #
   - [ ] ๐Ÿงช Added/updated tests with good coverage, or manually tested (and explained how)
   - [ ] ๐Ÿ’ก Added comments for complex logic
   - [ ] ๐Ÿงพ Updated `CHANGELOG.md` (if needed)
   - [ ] ๐Ÿ“š Updated documentation in `site/content/in-dev/unreleased` (if needed)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on PR #3963:
URL: https://github.com/apache/polaris/pull/3963#issuecomment-4031914662

   Re: hostname verification - it was not required when I tested this workflow with RustFS (S3) locally.
   
   > I wonder if we should also provide docs for other situations that might require TLS.
   
   Certainly. I'm not sure about Federated Catalogs, as I personally do not have much experience with them. +1 to documenting external IdP with TLS :+1: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3963:
URL: https://github.com/apache/polaris/pull/3963#discussion_r2912171638


##########
site/content/in-dev/unreleased/getting-started/deploying-polaris/storage-tls.md:
##########
@@ -0,0 +1,61 @@
+---
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+title: Accessing Storage with TLS and Self-Signed Certificates
+linkTitle: Storage with TLS
+type: docs
+weight: 300
+---
+
+Sometimes the storage targeted by the Polaris Server is expected to be accessed over TLS but the
+storage system's certificate does not have a trust chain leading to a well-known root. Often
+such a certificate is simply self-signed.
+
+In this situation the JVM inside the Polaris Server will need to be configured with a custom
+trust store containing the self-signed certificated or its CA certificate.
+
+The example below assumes using a self-signed certificate for storage and `docker` for running Polaris.
+
+# Creating a Custom Trust Store
+
+* Take an existing java trust store (with the usual root certificates) and make a local copy.
+* Add the storage system's certificate to it.
+
+```shell
+keytool -importcert -file STORAGE_CERT.pem -keystore cacerts

Review Comment:
   Good point (and I had it in my local)... will add.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on code in PR #3963:
URL: https://github.com/apache/polaris/pull/3963#discussion_r2909049567


##########
site/content/in-dev/unreleased/getting-started/deploying-polaris/storage-tls.md:
##########
@@ -0,0 +1,61 @@
+---
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+title: Accessing Storage with TLS and Self-Signed Certificates
+linkTitle: Storage with TLS
+type: docs
+weight: 300
+---
+
+Sometimes the storage targeted by the Polaris Server is expected to be accessed over TLS but the
+storage system's certificate does not have a trust chain leading to a well-known root. Often
+such a certificate is simply self-signed.
+
+In this situation the JVM inside the Polaris Server will need to be configured with a custom
+trust store containing the self-signed certificated or its CA certificate.
+
+The example below assumes using a self-signed certificate for storage and `docker` for running Polaris.
+
+# Creating a Custom Trust Store
+
+* Take an existing java trust store (with the usual root certificates) and make a local copy.
+* Add the storage system's certificate to it.
+
+```shell
+keytool -importcert -file STORAGE_CERT.pem -keystore cacerts

Review Comment:
   nit: it is generally a good practice to add alias.



##########
site/content/in-dev/unreleased/getting-started/deploying-polaris/storage-tls.md:
##########
@@ -0,0 +1,61 @@
+---
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+title: Accessing Storage with TLS and Self-Signed Certificates
+linkTitle: Storage with TLS
+type: docs
+weight: 300
+---
+
+Sometimes the storage targeted by the Polaris Server is expected to be accessed over TLS but the
+storage system's certificate does not have a trust chain leading to a well-known root. Often
+such a certificate is simply self-signed.
+
+In this situation the JVM inside the Polaris Server will need to be configured with a custom
+trust store containing the self-signed certificated or its CA certificate.

Review Comment:
   typo: "certificate"



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on code in PR #3963:
URL: https://github.com/apache/polaris/pull/3963#discussion_r2912753681


##########
site/content/in-dev/unreleased/getting-started/deploying-polaris/storage-tls.md:
##########
@@ -0,0 +1,61 @@
+---
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+title: Accessing Storage with TLS and Self-Signed Certificates
+linkTitle: Storage with TLS
+type: docs
+weight: 300
+---
+
+Sometimes the storage targeted by the Polaris Server is expected to be accessed over TLS but the
+storage system's certificate does not have a trust chain leading to a well-known root. Often
+such a certificate is simply self-signed.
+
+In this situation the JVM inside the Polaris Server will need to be configured with a custom
+trust store containing the self-signed certificated or its CA certificate.

Review Comment:
   thx - fixed



##########
site/content/in-dev/unreleased/getting-started/deploying-polaris/storage-tls.md:
##########
@@ -0,0 +1,61 @@
+---
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+title: Accessing Storage with TLS and Self-Signed Certificates
+linkTitle: Storage with TLS
+type: docs
+weight: 300
+---
+
+Sometimes the storage targeted by the Polaris Server is expected to be accessed over TLS but the
+storage system's certificate does not have a trust chain leading to a well-known root. Often
+such a certificate is simply self-signed.
+
+In this situation the JVM inside the Polaris Server will need to be configured with a custom
+trust store containing the self-signed certificated or its CA certificate.
+
+The example below assumes using a self-signed certificate for storage and `docker` for running Polaris.
+
+# Creating a Custom Trust Store
+
+* Take an existing java trust store (with the usual root certificates) and make a local copy.
+* Add the storage system's certificate to it.
+
+```shell
+keytool -importcert -file STORAGE_CERT.pem -keystore cacerts

Review Comment:
   added



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on PR #3963:
URL: https://github.com/apache/polaris/pull/3963#issuecomment-4031947477

   I'd expect on-prem systems to have correct `subjectAltName` even with self-managed certificates... so let's keep this doc simply for now and address suppressing hostname verification later (if/when there's user demand). WDYT?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b commented on PR #3963:
URL: https://github.com/apache/polaris/pull/3963#issuecomment-4039738906

   @MonkeyCanCode : I'm merging... please let me know if you have any follow-up comments - happy to address


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs: Add getting-started page for storage with TLS and a self-signed certificate [polaris]

Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b merged PR #3963:
URL: https://github.com/apache/polaris/pull/3963


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org