# Backup is failing due to bad HTTPS

**URL:** <https://meta.discourse.org/t/backup-is-failing-due-to-bad-https/113041>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [March 31, 2019, 5:11am UTC](https://meta.discourse.org/t/backup-is-failing-due-to-bad-https/113041 "2019-03-31T05:11:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [March 31, 2019, 4:59pm UTC](https://meta.discourse.org/t/backup-is-failing-due-to-bad-https/113041/8 "2019-03-31T16:59:29Z")

</div>

> [@hosna](#):
>
> ```plaintext
> SSL_connect returned=1 errno=0 state=error: certificate verify failed (ok) /usr/local/lib/ruby/2.5.0/net/protocol.rb:44:in `connect_nonblock' 
> /usr/local/lib/ruby/2.5.0/net/protocol.rb:44:in `ssl_socket_connect' 
> /usr/local/lib/ruby/2.5.0/net/http.rb:981:in `connect' 
> /usr/local/lib/ruby/2.5.0/net/http.rb:920:in `do_start' 
> /usr/local/lib/ruby/2.5.0/net/http.rb:915:in `start' 
> /usr/local/lib/ruby/2.5.0/delegate.rb:83:in `method_missing' 
> /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/aws-sdk-core-3.46.1/lib/seahorse/client/net_http/connection_pool.rb:297:in `start_session' 
> /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/aws-sdk-core-3.46.1/lib/seahorse/client/net_http/connection_pool.rb:96:in `session_for'
> 
> ```

This stack trace makes it looks like the connection to AWS is failing with a cert error.

Do you have a decrypting corporate proxy on your network in between this server and AWS?

EDIT: oh, I see, Minio _is_ “AWS”.

If you run `awscli` commands from inside the container against Minio, do they work or fail with a cert error?

---

_[View the full topic](https://meta.discourse.org/t/backup-is-failing-due-to-bad-https/113041)._
