Creating a certificate for an MS SQL database when NIST SP800-131A is enabled
When you enable NIST SP800-131A compliance and you are using an MS SQL database, you must create a certificate.
About this task
Note: To create a certificate with 4096 key size or
greater, you must overwrite the restriction policy files local_policy.jar and
US_export_policy.jar.
To create and install the certificate, complete the following steps:Go to the following directory and copy the local_policy.jar and US_export_policy.jar files.
- Windows™ systems
- TRC\server\java\demo\jce\policy-files\unrestricted
- Linux™ systems
- TRC/server/java/demo/jce/policy-files/unrestricted
Replace the following files with the JAR files that you copied.
- Windows™ systems
- TRC\server\java\jre\lib\security\local_policy.jar
TRC\server\java\jre\lib\security\US_export_policy.jar
- Linux™ systems
- TRC/server/java/jre/lib/security/local_policy.jar
TRC/server/java/jre/lib/security/US_export_policy.jar
Procedure
- Install one of the supported versions of MS SQL server and the latest patches. Minimum requirement is MS SQL Server 2012 Service Pack 3.
-
Create a keystore with a self-signed certificate.
-
Add the certificate store to the database server.
-
Manage private keys.
- Right-click the certificate file and select .
- Click Add.
- Click Check Names, select MSSQLSERVER and click OK.
- Click OK on the Select Users and Groups window.
- Set permissions for MSSQLSERVER on the Permissions window and click OK. For example, select Allow for Read for a Read-only option.
-
To complete the configuration, run the SQL Server Configuration Manager.
- Expand SQL Server Network Configuration.
- Right click Protocols for MSSQLSERVER and select Properties.
- On the Certificates tab, select your imported certificate.
- On the Flags tab set Force Encryption to Yes and click OK.
- Click OK on the Warning window.
- Select SQL Server Services.
- Right-click in the right pane.