メインコンテンツへスキップ

証明書が無効なため、ユーザーはS3バケットにアクセスできません

Views:
176
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

環境

  • ONTAP
  • ONTAP S3バケット
  • Openshiftホスト

問題

  • Openshiftホストは、S3バケットからイメージをプルできません。
  • S3バケットへのアクセス時に以下のエラーが発生します:

例:

Could not connect to storage default. Error:get "https://s3store.abc.xyz/openshiftint...try/?location=": tls: failed to verify certificate: x509: certificate signed by unknown authority

Error: Certificate is not valid
  • イベントログから、Bad Certificateが原因でTLS接続が失敗したことがわかります。

例:

 Mon Jul 29 12:59:19 +0530 [Node-01: ktlsd: ktls.failed:notice]: "The TLS connections have failed several times with remote host '172.17.204.40' in IPspace '4294967295', for which the latest reason given is: OpenSSL: error:0A000412:SSL routines::sslv3 alert bad certificate."
 

  • メッセージセクションから、Bad Certificateによりハンドシェイクが失敗します

 例:

Mon Jul 29 2024 12:59:19 +05:30 [Jul 29 12:59:19]: ERR: ktlsd: abortHandshake:src/tables/net_ssl_handshake.cc:2073 OpenSSL call failed: OpenSSL: error:0A000412:SSL routines::sslv3 alert bad certificate
Mon Jul 29 2024 13:01:55 +05:30 [Jul 29 13:01:55]: ERR: security_shared::filesystem::ScopedFlock: [createDirectoriesAndOpenFile]:166: Failed to create directories: Invalid argument
Mon Jul 29 2024 13:01:55 +05:30 [Jul 29 13:01:55]: ERR: libsslmgnt::filesystem::AbstractPemBundle: [getData]:42: Unable to acquire lock in

  • また、S3サーバーを使用しているKubernetes Podシステムでは、以下のエラーがログに記録されます:

例:

level=error ts=2025-04-10T08:10:57.709360403Z caller=flush.go:261 component=ingester loop=3 org_id=application msg="failed to flush" retries=2 err="failed to flush chunks: store put chunk: RequestError: send request failed\ncaused by: Put \"https://SVMS3.abc.com/bucket1/applic...44%3Ad387f13f\": tls: failed to verify certificate: x509: certificate signed by unknown authority, num_chunks: 1, labels: {kubernetes_container_name=\"name\", kubernetes_host=\"host.abc.com\", kubernetes_namespace_name=\"name-xx-wms\", kubernetes_pod_name=\"name\", log_type=\"application\"}"

  • AWS SDK環境でのエラー

例:

Error: software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: com.domain.jsse2.util.k: PKIX path building failed: com.domain.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target (SDK Attempt Count: 4)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.