mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-03 17:40:54 +00:00
Configure S3Proxy for SSL
This also demonstrates that SSL certificate checking occurs and the tests must disable it for S3Proxy's self-signed certificate. References #640.
This commit is contained in:
parent
5653ab39fc
commit
f531e6aff2
|
@ -41,7 +41,7 @@ set -o errexit
|
|||
S3FS=../src/s3fs
|
||||
|
||||
# Allow these defaulted values to be overridden
|
||||
: ${S3_URL:="http://127.0.0.1:8080"}
|
||||
: ${S3_URL:="https://127.0.0.1:8080"}
|
||||
: ${S3FS_CREDENTIALS_FILE:="passwd-s3fs"}
|
||||
: ${TEST_BUCKET_1:="s3fs-integration-test"}
|
||||
|
||||
|
@ -182,6 +182,8 @@ function start_s3fs {
|
|||
$TEST_BUCKET_MOUNT_POINT_1 \
|
||||
-o use_path_request_style \
|
||||
-o url=${S3_URL} \
|
||||
-o no_check_certificate \
|
||||
-o ssl_verify_hostname=0 \
|
||||
-o createbucket \
|
||||
${AUTH_OPT} \
|
||||
-o dbglevel=${DBGLEVEL:=info} \
|
||||
|
|
BIN
test/keystore.jks
Normal file
BIN
test/keystore.jks
Normal file
Binary file not shown.
|
@ -1,7 +1,9 @@
|
|||
s3proxy.endpoint=http://127.0.0.1:8080
|
||||
s3proxy.secure-endpoint=http://127.0.0.1:8080
|
||||
s3proxy.authorization=aws-v4
|
||||
s3proxy.identity=local-identity
|
||||
s3proxy.credential=local-credential
|
||||
s3proxy.keystore-path=keystore.jks
|
||||
s3proxy.keystore-password=password
|
||||
|
||||
jclouds.provider=transient
|
||||
jclouds.identity=remote-identity
|
||||
|
|
Loading…
Reference in New Issue
Block a user