Skip to content

Commit

Permalink
SNOW-70888: OCSP Cache Server URL Update for Private Link Customers
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-stakeda authored and ankit-bhatnagar167 committed Jun 3, 2019
1 parent 8d8f717 commit daebff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/snowflake/client/core/SessionUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ else if (authenticator == ClientAuthnDTO.AuthenticatorType.SNOWFLAKE_JWT)
String host = url.getHost();
logger.debug("HOST: {}", host);
String ocspCacheServerUrl = String.format(
"http://ocsp%s/%s",
host.substring(host.indexOf('.')),
"http://ocsp.%s/%s",
host,
SFTrustManager.CACHE_FILE_NAME);
logger.debug("OCSP Cache Server for Privatelink: {}",
ocspCacheServerUrl);
Expand Down

0 comments on commit daebff4

Please sign in to comment.