Cloud9 connection issues

0

I am new at aws and got a issue with the cloud9 service. When I want to connect my Amazon documentDB cluster with the suggested code and the instructions the following error appears: connecting to: mongodb://vbdatabase.cluster-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com:27017/?gssapiServiceName=mongodb 2023-02-19T21:48:31.353+0000 E NETWORK [js] The server certificate does not match the host name. Hostname: vbdatabase.cluster-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com does not match SAN(s): docdb-2023-02-19-11-51-03.cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com docdb-2023-02-19-11-51-03.cluster-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com docdb-2023-02-19-11-51-03.cluster-ro-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com 2023-02-19T21:48:31.353+0000 E QUERY [js] Error: couldn't connect to server vbdatabase.cluster-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com:27017, connection attempt failed: SSLHandshakeFailed: The server certificate does not match the host name. Hostname: vbdatabase.cluster-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com does not match SAN(s): docdb-2023-02-19-11-51-03.cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com docdb-2023-02-19-11-51-03.cluster-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com docdb-2023-02-19-11-51-03.cluster-ro-cgpymsvnpxgl.eu-central-1.docdb.amazonaws.com : connect@src/mongo/shell/mongo.js:356:17 @(connect):2:6 exception: connect failed

asked a year ago92 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions