Ask Your Question
0

Solaris 11.2 Openstack - CSRF Verification failed

asked 2014-12-22 12:35:58 -0500

rajg gravatar image

updated 2014-12-22 17:35:00 -0500

smaffulli gravatar image

Hello,

I'm new to Openstack and tried to install openstack on solaris 11.2 as per guide ( http://www.oracle.com/technetwork/articles/servers-storage-admin/getting-started-openstack-os11-2-2195380.html (http://www.oracle.com/technetwork/art...) ). After installed and logged in ( http://localhost/horizon ) I get Forbidden 403 - CSRF Verification failed error. I tried to fix it but no luck. Can anyone help me to fix this issue.

Thanks Raj

edit retag flag offensive close merge delete

Comments

allow third-party cookies for http://localhost/horizon

rishi gravatar imagerishi ( 2014-12-22 23:47:19 -0500 )edit

Rishi, Thanks for Reply. Third party cookies were already enabled but I still get this error. Any other suggestions?

rajg gravatar imagerajg ( 2014-12-23 10:46:53 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-12-28 03:32:20 -0500

In /etc/openstack-dasboard/local_settings.py

  # If Horizon is being served through SSL, then uncomment the following two
   # settings to better secure the cookies from security exploits
   #CSRF_COOKIE_SECURE = True
   #SESSION_COOKIE_SECURE = True

Set CSRF_COOKIE_SECURE = False.

If you are accessing horizon via http instead of https it needs to be False.

edit flag offensive delete link more

Comments

Thanks a lot. It worked.

rajg gravatar imagerajg ( 2015-01-05 11:45:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-12-22 12:35:58 -0500

Seen: 2,042 times

Last updated: Dec 28 '14