Adding/Deleting CORS Settings
The CCC Administrator can add/delete a CORS domain in PostgreSQL/Oracle database.
To add a CORS domain in PostgreSQL
-
Go to the CCC installation directory: cd /usr/safenet/ccc.
-
Launch the CORS configuration script:
sh cors_manager.sh
-
Select PostgreSQL.
-
Enter the database server's hostname or IP address.
-
Enter the database server's port number.
-
Enter the database password for lunadirector user.
-
Enter the Crypto Command Center server's trust store password. When the trust store password is entered, the database connection is established successfully.
-
Select To add CORS domain as Operation Type.
-
Enter the domain. The domain is added successfully. The CCC administrator is prompted to add another domain.
-
Select Y if you want to add another domain or select N if you do not want to add another domain.
To delete a CORS domain in PostgreSQL
-
Go to the CCC installation directory: cd /usr/safenet/ccc.
-
Launch the CORS configuration script:
sh cors_manager.sh
-
Select PostgreSQL.
-
Enter the database server's hostname or IP address.
-
Enter the database server's port number.
-
Enter the database password for lunadirector user.
-
Enter the Crypto Command Center server's trust store password.
-
When the trust store password is entered, the database connection is established successfully.
-
Select To delete CORS domain as Operation Type.
-
Enter the domain. The domain is deleted successfully.
-
The CCC administrator is prompted to delete another domain.
-
Select Y if you want to add another domain or select N if you do not want to add another domain.
The configuration script performs pattern matching. Ensure to enter the relevant domain name to perform the deletion operation successfully.
To add a CORS domain in Oracle
-
Go to the CCC installation directory: cd /usr/safenet/ccc.
-
Launch the CORS configuration script:
sh cors_manager.sh
-
Select Oracle.
-
Enter the database server's hostname or IP address.
-
Enter the database server's port number.
-
Enter the database server's service name.
-
Enter the database password for lunadirector user.
-
Enter the Crypto Command Center server's trust store password.
-
When the trust store password is entered, the database connection is established successfully.
-
Select To add CORS domain as Operation Type.
-
Enter the domain. The domain is added successfully. The CCC administrator is prompted to add another domain.
-
Select Y if you want to add another domain or select N if you do not want to add another domain.
To delete a CORS domain in Oracle
-
Go to the CCC installation directory: cd /usr/safenet/ccc.
-
Launch the CORS configuration script:
sh cors_manager.sh
-
Select Oracle.
-
Enter the database server's hostname or IP address.
-
Enter the database server's port number.
-
Enter the database server's service name.
-
Enter the database password for lunadirector user.
-
Enter the Crypto Command Center server's trust store password.
-
When the trust store password is entered, the database connection is established successfully.
-
Select To delete CORS domain as Operation Type.
-
Enter the domain. The domain is deleted successfully.
-
The CCC administrator is prompted to delete another domain.
-
Select Y if you want to delete another domain or select N if you do not want to delete another domain.
The configuration script performs pattern matching. Ensure to enter the relevant domain name to perform the deletion operation successfully.
If the database connection is not established successfully while adding CORS Settings in PostgreSQL / Oracle database, the connection attempt failed error displays.