Digital Certificates: To Encrypt the Database
The following activity will walk you through the process of replacing the default encryption algorithm used in MYOB Acumatica with your encryption certificate.
Story
Suppose that SweetLife Fruits & Jams company has decided to replace the default encryption algorithm used in MYOB Acumatica to encrypt sensitive data stored in the database with some other encryption certificate because of company security polices. You, as a system administrator, have been asked to configure the replacement.
Process Overview
You will use the Encryption Certificates (SM200530) form to register and upload the AcumaticaTrainingEncryption.pfx digital certificate with the Aw34esz password to be used for database encryption.
On the Certificate Replacement (SM200535) form, you will specify a certificate in the New Certificate box and click Replace Certificate. The system will launch the encryption of sensitive data with the new certificate.
Additionally, you will restore the database encryption method to the default one by removing the specified certificate and clicking Replace Certificate once again.
System Preparation
Before you start performing the steps of this activity, do the following:
- Launch the MYOB Acumatica website with the U100 dataset preloaded, and sign in as a system administrator by using the gibbs username and the 123 password.
- Open the File Upload Preferences (SM202550)
form and verify that
.pfx
is on the list of allowed extensions. Make sure that the check box in the Forbidden column is cleared for this extension.
Step 1: To Import a Certificate
To register and upload a certificate, do the following:
- Open the Encryption Certificates (SM200530) form.
- On the table toolbar, click Add Row.
- In the Name box, type Training Encryption.
- In the Password box, type the Aw34esz password for the certificate. It will be masked after you save your changes.
- On the form toolbar, click Save.
- Upload the file with the certificate as follows:
- Click the paper clip icon in the Files column of the row with the certificate.
- In the Files dialog box, click Browse, and select the AcumaticaTrainingEncryption.pfx file with the certificate you want to upload.
- Click Upload to import the certificate.
- Close the Files dialog box.
Step 2: To Encrypt the Database
To encrypt the database, do the following:
- Open the Certificate Replacement (SM200535) form.Tip: In the Selection area, you can see the certificate currently used for database encryption in the Current Certificate box. If the box is blank, the default encryption algorithm is being used.
- In the New Certificate box of the Selection area, select the certificate that you imported in the previous step. Its key will be used for encrypting the database.
- On the form toolbar, click Replace Certificate.
This initiates the process of decrypting the data with the previous encryption algorithm and encrypting it by using the new key. The Processing dialog box opens.
- Close the dialog box after the processing completes.
Step 3: To Restore the Default Database Encryption
Perform the following instructions to restore the default database encryption:
- While remaining on the Certificate Replacement (SM200535) form, in the Selection area, clear the value of the New Certificate box.
- On the form toolbar, click Replace Certificate.
This initiates the process of decrypting the data with the previous certificate and encrypting it by using the default encryption algorithm. The Processing dialog box opens.
- Close the dialog box after the processing completes. Notice that the Current Certificate box has become empty.