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
*[Start using the command-line](#start-using-the-command-line)
@@ -26,6 +27,7 @@
26
27
*[Start using Docker compose](#start-using-docker-compose)
27
28
*[Simple example](#simple-example)
28
29
*[Expanded example](#expanded-example)
30
+
*[Start using self-signed SSL certificate](#start-using-self-signed-ssl-certificate)
29
31
*[S3Mock Java](#s3mock-java)
30
32
*[Start using the JUnit4 Rule](#start-using-the-junit4-rule)
31
33
*[Start using the JUnit5 Extension](#start-using-the-junit5-extension)
@@ -193,9 +195,16 @@ For instance, S3Mock does not verify the HTTP verb that the presigned uri was cr
193
195
194
196
S3 SDKs can be used to create presigned URLs pointing to S3Mock if they're configured for path-style access. See the "Usage of..." section above for links to examples on how to use the SDK with presigned URLs.
195
197
198
+
#### Self-signed SSL certificate
199
+
200
+
S3Mock supports connections via HTTP and HTTPS. It includes a self-signed SSL certificate which is rejected by most HTTP clients by default.
201
+
To use HTTPS, the self-signed certificate must be accepted by the client. This can be done by setting the `--no-verify-ssl` option in the AWS CLI or by using the `--insecure` option in cURL, see below.
202
+
203
+
Java and Kotlin SDKs can be configured to trust any SSL certificate, see links to `S3Client` creation above.
204
+
196
205
### Usage of AWS CLI
197
206
198
-
S3Mock can be used with the AWS CLI. Setting the `--endpoint-url` enables path-style access.
207
+
S3Mock can be used with the AWS CLI. Setting the `--endpoint-url` enables path-style access, `--no-verify-ssl` is needed for HTTPS access.
0 commit comments