# How to disable SSL

**URL:** https://meta.discourse.org/t/how-to-disable-ssl/290091
**Category:** Self-hosting
**Created:** [December 30, 2023, 4:47pm UTC](https://meta.discourse.org/t/how-to-disable-ssl/290091 "2023-12-30T16:47:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Cedric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cedric/32/63199_2.png) [@Cedric](https://meta.discourse.org/u/Cedric)
#### Post date: [December 30, 2023, 4:47pm UTC](https://meta.discourse.org/t/how-to-disable-ssl/290091/1 "2023-12-30T16:47:15Z")

</div>

I wanted to setup SSL on an existing Discourse but made a mistake and now whenever I try to access the forum I get in the co,sole

> The Cross-Origin-Opener-Policy header has been ignored, because the URL’s origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the ‘localhost’ origin instead. See [Secure Contexts](https://www.w3.org/TR/powerful-features/#potentially-trustworthy-origin) and [HTML Standard](https://html.spec.whatwg.org/#the-cross-origin-opener-policy-header).  
> /stylesheets/color\_definitions\_black-scheme\_1\_8\_692299cc4242abd358e79885be6829b19295fcf8.css?\_\_ws=[forum.xxx.net:1](http://forum.xxx.net:1)
> 
> Failed to load resource: net::ERR\_CONNECTION\_RESET

Any idea what I can do to disable SSL and have access to the admin interface?

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [December 30, 2023, 5:32pm UTC](https://meta.discourse.org/t/how-to-disable-ssl/290091/2 "2023-12-30T17:32:21Z")

</div>

Can you elaborate on the mistake you made? Is it a [standard installation](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md)?  
By default, HTTPS is enabled; you usually have nothing to do, so I’m wondering what you did.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [December 30, 2023, 7:57pm UTC](https://meta.discourse.org/t/how-to-disable-ssl/290091/3 "2023-12-30T19:57:29Z")

</div>

Are you using “Let’s Encrypt” in Discourse app yml or a different encrypt ie one provided by your registrar or a 3rdparty cert?

---

<div class="post-metadata">

### Author: ![Cedric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cedric/32/63199_2.png) [@Cedric](https://meta.discourse.org/u/Cedric)
#### Post date: [December 31, 2023, 1:57am UTC](https://meta.discourse.org/t/how-to-disable-ssl/290091/4 "2023-12-31T01:57:30Z")

</div>

Its a standard installation thougha few years old and upgraded regularly. I realized that my browser showed and icon “Connection is not secure” in the address bar and went to look for SSL in the admin console. I forgot which option I checked - I thought I could go back anyway - but I selected “enforce SSL” or something like that.  
Is there anyway to disable it? Or check the configuration?

Here are the errors from the browser

 ![Untitled](https://global.discourse-cdn.com/meta/original/4X/c/6/8/c687ca3242dc34c2e8512d26906f382d0533719e.png)

And my app.yml  
[app.yml](https://meta.discourse.org/uploads/short-url/r9dVdsokJqXsim5dbOqTWq4aLyL.yml) (3.8 KB)

And Nginx discourse.conf  
[discourse.conf.txt](https://meta.discourse.org/uploads/short-url/kK5T30kNO3lK5cvJVfpEfwGIpGl.txt) (10.0 KB)

---

<div class="post-metadata">

### Author: ![Cedric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cedric/32/63199_2.png) [@Cedric](https://meta.discourse.org/u/Cedric)
#### Post date: [December 31, 2023, 5:15am UTC](https://meta.discourse.org/t/how-to-disable-ssl/290091/5 "2023-12-31T05:15:28Z")

</div>

Is there a possibility to just reinstall Discourse over the existing installation? And keep the existing database and hopefully theme?
