"Certificate doesn’t match any of the subject alternative names" error when Accessing StorageGRID Bucket
Applies to
- StorageGRID
- Application using S3 API to connect to StorageGRID
Issue
Application unable to access S3 bucket due to a certificate validation error. The following error is observed in the application logs :
2025-10-30 19:34:10.744 [pool-7-thread-1] ERROR c.a.e.service.impl.S3ServiceImpl - Error while uploading image to s3
2025-10-30 19:34:10.745 [pool-7-thread-1] ERROR c.a.e.service.impl.S3ServiceImpl - Exception occurred while downloading/uploading image
com.name.name_image_service.exception.ImageException: Unable to execute HTTP request: Certificate for <XX-XX-name-xxx.name.xxx.name> doesn't match any of the subject alternative names: []
Caused by: software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Certificate for <XX-XX-name-xxx.name.xxx.name> doesn't match any of the subject alternative names: []
