Skip to main content
NetApp Knowledge Base

Linux S3FS utility not able to connect with StorageGRID bucket

Last Updated:

Applies to

  • StorageGRID 11.6
  • S3FS utility
  • Ubuntu/ Redhat Linux


While mounting the bucket to the Linux system, s3fs utility fails with:
sudo s3fs exxx /home/ubuntu/testS3MOUNT/mytenant -o url=https://x.x.x.x:10444 -o no_check_certificate -o use_path_request_style -o passwd_file=~/.passwd-s3fs -d -d -f -o dbglevel=info -o curldbg
sudo s3fs electronic-name /home/ubuntu/testS3MOUNT/mytenant -o url=https://x.x.x.x:10444 -o no_check_certificate -o use_path_request_style -o passwd_file=~/.passwd-s3fs -d -d -f -o dbglevel=info -o curldbg
2023-06-01T05:31:58.029Z [INF] s3fs version 1.90(unknown) : s3fs -o url=https://x.x.x.x:10444 -o no_check_certificate -o use_path_request_style -o passwd_file=/home/ubuntu/.passwd-s3fs -d -d -f -o dbglevel=info -o curldbg electronic-name /home/ubuntu/testS3MOUNT/mytenant
2023-06-01T05:31:58.030Z [CRT] s3fs_logger.cpp:LowSetLogLevel(240): change debug level from [CRT] to [INF]
2023-06-01T05:31:58.030Z [INF]     s3fs.cpp:set_mountpoint_attribute(4093): PROC(uid=0, gid=0) - MountPoint(uid=1000, gid=1000, mode=40775)
2023-06-01T05:31:58.033Z [INF] curl.cpp:InitMimeType(434): Loaded mime information from /etc/mime.types
2023-06-01T05:31:58.034Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(79): The path to cache top dir is empty, thus not need to check permission.
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.34
2023-06-01T05:31:58.044Z [INF] s3fs.cpp:s3fs_init(3382): init v1.90(commit:unknown) with GnuTLS(gcrypt)
2023-06-01T05:31:58.044Z [INF] s3fs.cpp:s3fs_check_service(3516): check services.
2023-06-01T05:31:58.044Z [INF]       curl.cpp:CheckBucket(3388): check a bucket.
2023-06-01T05:31:58.044Z [INF]       curl_util.cpp:prepare_url(254): URL is https://x.x.x.x:10444/exxx/
2023-06-01T05:31:58.045Z [INF]       curl_util.cpp:prepare_url(287): URL changed is https://x.x.x.x:10444/exxx/
2023-06-01T05:31:58.045Z [INF]       curl.cpp:insertV4Headers(2680): computing signature [GET] [/] [] []
2023-06-01T05:31:58.045Z [INF]       curl_util.cpp:url_to_host(331): url is https://x.x.x.x:10444
2023-06-01T05:31:58.046Z [CURL DBG] *   Trying x.x.x.x:10444...
2023-06-01T05:31:58.047Z [CURL DBG] * Connected to x.x.x.x (x.x.x.x) port 10444 (#0)
2023-06-01T05:31:58.080Z [CURL DBG] * found 411 certificates in /etc/ssl/certs
2023-06-01T05:31:58.080Z [CURL DBG] * GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0
2023-06-01T05:31:58.083Z [CURL DBG] * SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
2023-06-01T05:31:58.084Z [CURL DBG] *   server certificate verification SKIPPED
2023-06-01T05:31:58.084Z [CURL DBG] *   server certificate status verification SKIPPED
2023-06-01T05:31:58.085Z [CURL DBG] * SSL: certificate subject name (StorageGRID) does not match target host name 'x.x.x.x'
2023-06-01T05:31:58.085Z [CURL DBG] * Closing connection 0
2023-06-01T05:31:58.087Z [ERR] curl.cpp:RequestPerform(2455): ### CURLE_SSL_CACERT

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.
Scan to view the article on your device