Using SSL authentication
The Secure Sockets Layer, commonly referred to as SSL, is another method of authentication based on externally stored credentials. The mechanism is very similar to that used in authentication based on external stores. The major difference is that in authentication based on external stores, we are still using passwords, and the normal user authentication is unaltered. In SSL-based authentication, users are defined externally or globally, and authorization is based on certificates.
Getting ready
In this recipe we will re-use the SSL-based connection setup that was described in Chapter 2, Securing the Network and Data in Transit. Additionally we will create a user named ssluser
defined with an external identification. Before starting with the steps, set up the SSL communication as instructed in Chapter 2, Securing the Network and Data in Transit.
How to do it...
Edit
$ORACLE_HOME/network/admin/sqlnet.ora
and setSSL_CLIENT_AUTHENTICATION
toTRUE
, as follows:SSL_CLIENT_AUTHENTICATION...