After migrating the neutron-server and the keystone service from one machine to another I got the following error when running commands like neutron net-list:
2014-11-11 12:45:27.013 23123 WARNING keystoneclient.middleware.auth_token [-] Verify error: Command 'openssl' returned non-zero exit status 4 2014-11-11 12:45:27.013 23123 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token 2014-11-11 12:45:27.014 23123 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request
To solve the error I had to remove the existing certificates:
rm /var/lib/neutron/keystone-signing/*
After that the certificates where generated again and the command was run succesfully.