We have created Mongodb k8s cluster. We also have created PBM k8s container and we are trying to run pbm commands from it.
pbm-config is successful (We have minio s3 storage in config)
while starting pbm-agent, we are getting into below error.
bash-4.4$ pbm-agent --mongodb-uri mongodb://mongodb-replica-1.mongo:
2023-02-09T13:50:36.000+0000 I pbm-agent:
Version: 2.0.3
Platform: linux/amd64
GitCommit: 594eeb110d86939087858711b4f70b384a347758
GitBranch: release-2.0.3
BuildTime: 2023-01-11_14:12_UTC
GoVersion: go1.19
2023-02-09T13:50:36.000+0000 I starting PITR routine
2023-02-09T13:50:36.000+0000 I node: rs0/mongodb-replica-1.mongo:
2023-02-09T13:50:36.000+0000 I listening for the commands
2023-02-09T13:50:42.000+0000 E [agentCheckup] check storage connection: storage check failed with: get S3 object header: RequestError: send requst failed
caused by: Head “[https://:/minio-pbm/data/pbm/test/.pbm.init”:](https://:/minio-pbm/data/pbm/test/.pbm.init%22:) x509: certificate has expired or is not yet valid: current tie 2023-02-09T13:50:42Z is after 2023-02-09T07:55:20Z