ALERT: For security reasons, Editing of this module is disabled until your Admin is configured for SSL.

My configure.php is configured to use SSL for store and admin, and both are set to true. I can't edit my payment modules due to this error.
Any ideas how to fix this?
I tried with both old and new configs, same issue.