swekey.sample.conf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # This is a typical file used to enable Swekey hardware authentication.
  2. #
  3. # To activate the Swekey authentication add the following line to your config.inc.php file.
  4. # $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  5. # Then rename this file "swekey-pma.conf" and copy it to the /etc directory.
  6. # Add all the Swekey ids you want to grant access to in the file.
  7. # After each Swekey id put the corresponding user name.
  8. #
  9. # If you don't know the id of a Swekey just visit http://www.swekey.com?sel=support
  10. # while your Swekey is connected.
  11. #
  12. # If you need to purchase a Swekey please visit http://phpmyadmin.net/auth_key
  13. # since this link provides funding to PhpMyAdmin.
  14. #
  15. 0000000000000000000000000000763A:root
  16. 000000000000000000000000000089E4:steve
  17. 0000000000000000000000000000231E:scott
  18. #
  19. # It is recommended to include the following lines to contact the
  20. # authentication servers in SSL mode.
  21. #
  22. SERVER_CHECK=https://auth-check-ssl.musbe.net
  23. SERVER_RNDTOKEN=https://auth-rnd-gen-ssl.musbe.net
  24. SERVER_STATUS=https://auth-status-ssl.musbe.net
  25. #
  26. # The path of the root certificate file used to ensure a secure
  27. # communication with the authentication servers in SSL mode.
  28. # If not specified, will use musbe-ca.crt found in your
  29. # phpMyAdmin/libraries/auth/swekey.
  30. #
  31. #CA_FILE=/var/http-root/phpmyadmin/libraries/auth/swekey/musbe-ca.crt
  32. #
  33. # If your server receives many login requests, you can enable the random
  34. # token caching to accelerate the authentication process.
  35. # Token caching is enabled by default.
  36. #
  37. #ENABLE_TOKEN_CACHE=0