# SSL\_connect teruggekeerd=1 errno=0 peeraddr=162.243.189.2:443 state=error: certificaat verificatie mislukt (Hostnaam niet overeenkomend)

**URL:** https://meta.discourse.org/t/ssl-connect-returned-1-errno-0-peeraddr-162-243-189-2-443-state-error-certificate-verify-failed-hostname-mismatch/269824
**Category:** Self-hosting
**Tags:** s3
**Created:** [27 juni 2023 om 21:30 UTC](https://meta.discourse.org/t/ssl-connect-returned-1-errno-0-peeraddr-162-243-189-2-443-state-error-certificate-verify-failed-hostname-mismatch/269824 "2023-06-27T21:30:25Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![DavidO](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@DavidO](https://meta.discourse.org/u/DavidO)
#### Post date: [29 juni 2023 om 02:48 UTC](https://meta.discourse.org/t/ssl-connect-returned-1-errno-0-peeraddr-162-243-189-2-443-state-error-certificate-verify-failed-hostname-mismatch/269824/7 "2023-06-29T02:48:37Z")

</div>

OK. I got the after\_assets\_precompile added…

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/9/5/b95f82a019b59a8faefb05863bdc0eb67f4600f6.png)

I rebuilt it and I still don’t see a section of S3.

Do I just make one?  
Does it matter where I put the settings?

> [@Configure an S3 compatible object storage provider for uploads](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916/1):
>
> Example configuration:
> 
> ```plaintext
> DISCOURSE_USE_S3: true
> DISCOURSE_S3_REGION: whatever
> DISCOURSE_S3_ENDPOINT: https://nyc3.digitaloceanspaces.com
> DISCOURSE_S3_ACCESS_KEY_ID: myaccesskey
> DISCOURSE_S3_SECRET_ACCESS_KEY: mysecretkey
> DISCOURSE_S3_CDN_URL: https://falcoland-files-cdn.falco.dev
> DISCOURSE_S3_BUCKET: falcoland-files
> DISCOURSE_S3_BACKUP_BUCKET: falcoland-files/backups
> DISCOURSE_BACKUP_LOCATION: s3
> DISCOURSE_S3_INSTALL_CORS_RULE: false 
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/ssl-connect-returned-1-errno-0-peeraddr-162-243-189-2-443-state-error-certificate-verify-failed-hostname-mismatch/269824)._
