uploading config after failed update

Status
Not open for further replies.

roman mak

Cadet
Joined
Dec 18, 2014
Messages
8
Updating to FreeNAS 9.3 failed so I had to reinstall from scratch, luckily I had the database file saved. After uploading the db file I can't login to the WEB GUI:

Forbidden (403)
CSRF verification failed. Request aborted.

More information is available with DEBUG=True.

I had HTTPS turned on, now however, nginx does not listen on 443.

Please advise.

Thanks,
Roman.
 

roman mak

Cadet
Joined
Dec 18, 2014
Messages
8
/etc/ix.rc.d/ix-nginx restart complains about missing cert

Code:
# /etc/ix.rc.d/ix-nginx restart
Error opening Private Key
35455:error:02001002:system library:fopen:No such file or directory:/fusion/jkh/M/FN/FreeBSD/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:356:fopen('','r')
35455:error:20074002:BIO routines:FILE_CTRL:system lib:/fusion/jkh/M/FN/FreeBSD/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:358:
unable to load Private Key
[: -ge: unexpected operator
[: -lt: unexpected operator


How can I recreate the cert?

Thanks,
Roman.
 

roman mak

Cadet
Joined
Dec 18, 2014
Messages
8
I have changed "stg_guiprotocol" in the database

# sqlite3 /data/freenas-v1.db "update system_settings set stg_guiprotocol='http'"

nginx now restarts just fine. However, i'm still getting the same "CSRF verification failed" error in the browser.

Please advise.

Thanks,
Roman.
 
D

dlavigne

Guest
Do you have an old freenas cert saved in the browser? If so, delete it.
 
Status
Not open for further replies.
Top