2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
In my case below string helped in connecting to WS document DB from local machine
mongodb://<username>:<password>@localhost:27017/?tls=true&tlsInsecure=true
beantwortet vor 3 Monaten
0
Try these:
- Open the rds-truststore.jks file using keytool utility
- keytool -keystore rds-truststore.jks -storepass <password> -list
- Add the localhost alias to the truststore
- keytool -keystore rds-truststore.jks -storepass <password> -alias localhost -import -file localhost.cer
- Provide the path of the updated truststore in the springboot application configuration.
- Restart the springboot application.
- This will add the localhost certificate to the truststore and allow the application to connect to the database using localhost port forwarding without any certificate errors.
Relevanter Inhalt
- Wie verbinde ich verschiedene Zweigstellen mithilfe von AWS Site-to-Site VPN und AWS Direct Connect?AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
Thanks for answering, I did't try this as below connection string worked.