How to enable HTTPS for S3-Compatible Ojbect Storage Server

Post Reply
shooms99
Starting out
Posts: 10
Joined: Thu Aug 11, 2016 12:44 pm

How to enable HTTPS for S3-Compatible Ojbect Storage Server

Post by shooms99 » Sun Dec 03, 2017 3:13 am

Hi,
I have successfully set up QNAP's OSS module to be an S3-Compatible data repository. In other words, I can back up my laptop to my QNAP using my back up software (specifically ARQ) instead of having to pay for Amazon S3 storage. The only problem is that the I can only connect via http (non-secure). Does anyone know how to make it work via HTTPS? Do I have to purchase an SSL for QNAP server which sits behind a router? How do I install it, what domain? Ultimately, I want to do port forwarding so I can backup to my QNAP from the WAN, rather than just on my LAN.
Thanks.

dolbyman
Guru
Posts: 14197
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: How to enable HTTPS for S3-Compatible Ojbect Storage Server

Post by dolbyman » Sun Dec 03, 2017 3:15 am

search for "let's encrypt" for the free ssl cert (and the howto install it)

to use http on a cert you will have to talk to it via it's FQDN otherwise the cert will not be valid

shooms99
Starting out
Posts: 10
Joined: Thu Aug 11, 2016 12:44 pm

Re: How to enable HTTPS for S3-Compatible Ojbect Storage Server

Post by shooms99 » Sun Dec 03, 2017 3:32 am

dolbyman wrote:search for "let's encrypt" for the free ssl cert (and the howto install it)

to use http on a cert you will have to talk to it via it's FQDN otherwise the cert will not be valid


Hi dolbyman,
Thanks for responding. I didn't get anywhere where with calling QNAP tech support.

I have "let's encrypt" installed on my server, which I set up via the qnapcloud, so would "https://QNAPXX.qnapcloud.com" be my FQDN? Or would it be my external IP of "https://xxx.xxx.xxx.123".
And should I add the port number to the end of this, such as ":8081"?

Also, do you know if my QNAP settings are Object Storage Server > Service Endpoint > Service Type : Web Server Virtual Host ?

Thanks.

eweri
New here
Posts: 2
Joined: Wed Jul 24, 2019 10:02 pm

Re: How to enable HTTPS for S3-Compatible Ojbect Storage Server

Post by eweri » Wed Jul 24, 2019 10:30 pm

shooms99 wrote:
Sun Dec 03, 2017 3:13 am
Hi,
I have successfully set up QNAP's OSS module to be an S3-Compatible data repository. In other words, I can back up my laptop to my QNAP using my back up software (specifically ARQ) instead of having to pay for Amazon S3 storage. The only problem is that the I can only connect via http (non-secure). Does anyone know how to make it work via HTTPS? Do I have to purchase an SSL for QNAP server which sits behind a router? How do I install it, what domain? Ultimately, I want to do port forwarding so I can backup to my QNAP from the WAN, rather than just on my LAN.
Thanks.
Hello!

I just wanted to setup the Object Storage Server and as far as I can tell I setup everything in the GUI - but I always get "access denied"
How did you manage to get it working?

I checked the port and I get an answer "access denied" or "the resource could not be found", i accessed the Store Account via SMB with the same user -> no problem
But I could not access the Store Account via any S3 client (tried with Retrospect, Cyberduck and Commander One - everything on MacOS)

I could not find any hint in the debugging info what's going wrong.

I appreciate every hint.

Bye,
eweri

shooms99
Starting out
Posts: 10
Joined: Thu Aug 11, 2016 12:44 pm

Re: How to enable HTTPS for S3-Compatible Ojbect Storage Server

Post by shooms99 » Wed Aug 07, 2019 12:04 am

I tried so many different settings, but I was never able to get it to work via SSL outside of my home network. It's not useful to me if I can't use S3-compatible storage securely. While I have been happy with the QNAP overall, this has been a major disappointment.

Post Reply

Return to “Object Storage Server”