Merge pull request #645 from andrewgaul/s3proxy-ssl

Configure S3Proxy for SSL
This commit is contained in:
Takeshi Nakatani 2017-09-19 21:39:32 +09:00 committed by GitHub
commit 6c57cde7f9
3 changed files with 6 additions and 2 deletions

View File

@ -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

Binary file not shown.

View File

@ -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