GitHub user ytihianine added a comment to the discussion: Polaris configuration 
with External Minio S3 (HTTPS) ERROR

Hey @Rafael-Bessa 
I am facing the same issue but in a k8s env. I have deployed Apache Polaris 
using this simple values config

```
serviceMonitor:
  # -- Specifies whether a ServiceMonitor for Prometheus operator should be 
created.
  enabled: False

persistence:
  # -- The type of persistence to use. Two built-in types are supported: 
in-memory and relational-jdbc.
  type: relational-jdbc  # relational-jdbc
  # -- The configuration for the relational-jdbc persistence manager.
  relationalJdbc:
    # -- The secret name to pull the database connection properties from.
    secret:
      # -- The secret name to pull database connection properties from
      name: polaris-db-secret
      # -- The secret key holding the database username for authentication
      username: username
      # -- The secret key holding the database password for authentication
      password: password
      # -- The secret key holding the database JDBC connection URL
      jdbcUrl: jdbcUrl


# -- Storage credentials for the server. If the following properties are unset, 
default
# credentials will be used, in which case the pod must have the necessary 
permissions to access the storage.
storage:
  # -- The secret to pull storage credentials from.
  secret:
    # -- The name of the secret to pull storage credentials from.
    name: polaris-storage-secret
    # -- The key in the secret to pull the AWS access key ID from. Only 
required when using AWS.
    awsAccessKeyId: awsAccessKeyId
    # -- The key in the secret to pull the AWS secret access key from. Only 
required when using AWS.
    awsSecretAccessKey: awsSecretAccessKey


ingress:
  enabled: true
  className: "nginx"
  annotations: {}
  hosts:
    - host: my_host.com
      paths:
      - path: /
        pathType: Prefix
```
I cp'ed my cert file to my pods
```
kubectl cp /path/to/cert.crt polaris-catalog-675dc84f48-cv8hm:/tmp/minio.crt
```
I then executed the following command:
```
kubectl exec --stdin --tty polaris-catalog-675dc84f48-9nb8s -- /bin/bash
keytool -import -noprompt -alias minio -file /tmp/minio.crt -keystore 
$JAVA_HOME/lib/security/cacerts -storepass changeit
"
```
but I have permission issues
```
Certificate was added to keystore
keytool error: java.io.FileNotFoundException: 
/usr/lib/jvm/jre/lib/security/cacerts (Permission denied)
```
Any help would be much appreciated 🙏

GitHub link: 
https://github.com/apache/polaris/discussions/2705#discussioncomment-15841283

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to