CSRF when switching to HTTPS #3093

Closed
opened 2025-12-29 18:25:33 +01:00 by adam · 1 comment
Owner

Originally created by @misch42 on GitHub (Dec 25, 2019).

I installed netbox on a fresh CentOS8. All according to the install guide. nginx as frontend. when I switch from HTTP to HTTPS in nginx.conf I get CSRF verification failed, request aborted on every POST request.

Environment

# python --version
Python 3.6.8

netbox cloned on Dec 22th.

### Steps to Reproduce
nginx.conf: listen 80;

eveything works.

when switching to listen 443 ssl;

I get "CSRF verification failed, request aborted" on login and other POST request.
Originally created by @misch42 on GitHub (Dec 25, 2019). I installed netbox on a fresh CentOS8. All according to the install guide. nginx as frontend. when I switch from HTTP to HTTPS in nginx.conf I get CSRF verification failed, request aborted on every POST request. ### Environment ``` # python --version Python 3.6.8 netbox cloned on Dec 22th. ### Steps to Reproduce nginx.conf: listen 80; eveything works. when switching to listen 443 ssl; I get "CSRF verification failed, request aborted" on login and other POST request.
adam closed this issue 2025-12-29 18:25:33 +01:00
Author
Owner

@DanSheps commented on GitHub (Dec 25, 2019):

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using one of the templates provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list instead.

@DanSheps commented on GitHub (Dec 25, 2019): Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using one of the templates provided [here](https://github.com/digitalocean/netbox/issues/new/choose). For general discussion, questions, or assistance with installation issues, please post to our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss) instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3093