You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -371,15 +371,21 @@ private class AmazonQServerInstance(private val project: Project, private val cs
371
371
// make assumption that all requests will resolve to the same CA
372
372
// also terrible assumption that default endpoint is reachable
373
373
val qUri =URI(QDefaultServiceConfig.ENDPOINT)
374
-
val rtsTrustChain =TrustChainUtil.getTrustChain(qUri)
375
-
val extraCaCerts =Files.createTempFile("q-extra-ca", ".pem").apply {
376
-
writeText(
377
-
TrustChainUtil.certsToPem(rtsTrustChain)
378
-
)
374
+
val extraCaCerts =try {
375
+
val rtsTrustChain =TrustChainUtil.getTrustChain(qUri)
0 commit comments