OCI Amazon S3 Compatibility API
Content
My Elasticsearch7.10.0 is running in OCI OKE (Kubernetes running in Oracle Cloud). I want to setup Elasticsearch backup snapshot with OCI Object store using OCI Amazon S3 Compatibility API. Added repository-s3 plugin and configured ACCESS_KEY and SECRET_KEY in the PODs. While repository, I am getting "s_s_l_peer_unverified_exception"
The user has full access.
Code Snippet
curl -u "elastic:$PASSWORD" -k -X PUT "https://elasticsearch-es-http:9200/_snapshot/s3_repository" -H 'Content-Type: application/json' -d' { "type": "s3", "settings": { "client": "default", "region": "ap-sydney-1", "base_path": "elastic", "endpoint": "<namespace>.compat.objectstorage.ap-sydney-1.oraclecloud.com", "bucket": "es-backup" } } response: { "error" : { "root_cause" : [ { "type" : "repository_verification_exception", "reason" : "[s3-repository] path is not accessible on master node" }
Tagged:
0