G DATA Mail Protection
Assign a certificate to G DATA Mail Protection.
We recommend using a certificate to secure communication between G DATA Mail Protection and Microsoft Exchange Online. This requires a certificate with a public key and a private key.
| The public certificate file is uploaded to your Microsoft Entra admin center for G DATA Mail Protection; the private-key material is stored in your G DATA Web Portal. |
Create a self-signed certificate using PowerShell on Windows
1. |
Open PowerShell on your local computer with administrator privileges. |
||||||
2. |
Use cd to change to the C:\ directory and enter the following command:
We have named the certificate MailProtection. You can choose a different name.
|
||||||
3. |
Use the following command to export the public certificate to a location from which you can upload the files later:
|
||||||
4. |
Use the following command to set a password for the private key:
|
||||||
5. |
Use the following command to export the private-key material to a location from which you can upload the files later:
|
||||||
6. |
Now use these commands to delete both certificates from your computer’s personal certificate store. The certificate is not needed there. Retrieve the certificate’s thumbprint from the store: Get-ChildItem -Path "Cert:\CurrentUser\My" | Where-Object {$_.Subject -Match "MailProtection"} | Select-Object Thumbprint, FriendlyName
Delete the certificate using its thumbprint:
|
Upload the certificate for G DATA Mail Protection to the Microsoft Entra admin center
1. |
|
2. |
Under Applications→App registrations→G DATA Mail Protection, click Add a certificate or secret. Screenshot
|
3. |
Click Certificates, then Upload certificate. Screenshot
|
4. |
Upload the certificate you created from the location where you saved it during creation. Screenshot
|
5. |
Enter a short description and click Add |