# Unknow error "BAD CSRF"

**URL:** <https://meta.discourse.org/t/unknow-error-bad-csrf/260104>\
**Category:** Product Support\
**Created:** [March 31, 2023, 1:03pm UTC](https://meta.discourse.org/t/unknow-error-bad-csrf/260104 "2023-03-31T13:03:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![micoHuang](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@micoHuang](https://meta.discourse.org/u/micoHuang)\
**Post date:** [March 31, 2023, 1:03pm UTC](https://meta.discourse.org/t/unknow-error-bad-csrf/260104/1 "2023-03-31T13:03:54Z")

</div>

Hello, When I enabled “force https” and many functions reported “BAD CSRF”, I was not sure if my ssl configuration was correct or if my problem was somewhere else. I used a non-standard installation and used “./launcher rebuild app” to customize the installation. My ssl file is xxx.pem and xxx.key, I am not sure whether the pem file is OK, I see the official document is xxx.crt, currently I cannot cancel “force https” on the page, what should I do?

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

---

_[View the full topic](https://meta.discourse.org/t/unknow-error-bad-csrf/260104)._
