Generating and installing user certificates
You can generate and install a user certificate for client authentication and code signing in your Windows machine, if you have the admin role.
- Client authentication
-
Client authentication enables mutual TLS (mTLS) authentication between the Unattended Robot application and the ServiceNow server while making a connection.
You can either generate and install user certificates or export active directory certificates.
- Code signing certificate
- A code signing certificate is used for signing and verifying the automation packages from RPA Desktop Design Studio. This certificate detects any tampering or corruption of scripts before they're run.
The code signing certificate is validated during the Unattended Robot and Attended Robot executions.
If you don't have the active directory certificates, do the tasks in the following topics to generate and install user certificates. For more information, see Exporting Microsoft Active Directory certificates.
Generate a user certificate from KeyStore Explorer
Generate a user certificate for secure client authentication and code signing in your Windows machine using the KeyStore Explorer application. This reference procedure is one of many methods to generate a user certificate.
始める前に
Do this task in your Windows machine.
If user certificates are generated by your organization, then you can skip this procedure. You can proceed with installing the user certificate.
If user certificates are not generated by your organization, you can either use this procedure or any other procedure to generate a client authentication certificate.
Role required: admin
このタスクについて
You can install the KeyStore Explorer application in your Windows machine and then generate a client authentication and code signing certificate from the KeyStore Explorer application. Skip this task, if you already have these certificates.
Generate a client authentication certificate for authenticating the Unattended Robot application.
Generate a code signing certificate for publishing an automation project from RPA Desktop Design Studio.
手順
次のタスク
Activate the certificate-based authentication plugin, if you have the admin role. It is a prerequisite for registering the certificates on the instance. For more information, see Activate the certificate-based authentication.
Register user-generated client authentication certificate to make it available for authentication. For more information, see Register the CA certificate.
Map the user-generated client authentication certificate to the user. For more information, see Map the PEM certificate to user.
Install the generated client authentication and code signing certificate. For more information, see Install the user-generated certificates.
Install the user-generated certificates
Install the user generated (client authentication and code signing) certificates in your Windows machine, if you have the admin role.
始める前に
Generate a client authentication and a code signing certificate. For more information, see Generate a user certificate from KeyStore Explorer.
Activate the certificate-based authentication plugin, if you have the admin role. It is a prerequisite for registering the certificates on the instance. For more information, see Activate the certificate-based authentication.
Register user-generated client authentication certificate to make it available for authentication. For more information, see Register the CA certificate.
Map the user-generated client authentication certificate to the user. For more information, see Map the PEM certificate to user.
Role required: admin
このタスクについて
手順
- Double-click the certificate file to open the Certificate Import Wizard dialog box.
-
From the Store Location list, select one of the following options:
- If you’re installing a client authentication certificate, select Local Machine to store a location for the certificate.
- If you’re installing a code signing certificate, select Current User to store a location for the certificate.
- Select Next.
- In the File to import dialog box, specify the file that you want to import in the File name field.
- Select Next.
- In the Private key protection dialog box, enter a password in the Password field for the private key.
- In the Import options section, select the Include all extended properties option.
- Select Next.
- In the Certificate Store dialog box, select the Automatically select the certificate store based on the type of certificate option, to enable the Windows machine to automatically select a certificate store.
- Select Next.
- In the Completing the Certificate Import Wizard dialog box, select Finish.
- In the Confirmation dialog box, select OK.
次のタスク
Add user to manage private keys
Add the user to manage private keys in your Windows machine, if you have the admin role, to complete the certificate generation.
始める前に
Install the user-generated (client authentication and code signing) certificates in your Windows machine, if you have the admin role. For more information, see Install the user-generated certificates.
Role required: admin
手順
- In your Windows machine, from the Search menu, enter Manage computer certificates.
- In the Certificate Manager tool, navigate to .
- In the Certificate Import Wizard dialog box, right-click the installed certificate and then navigate to .
- In the Permissions dialog box, select Add.
- In the Select Users, Computers, Service Accounts, or Groups dialog box, in the Enter the Object names to select field, enter the user account that is used by the robot to log in to the machine.
- Select Check Names.
- Select the user account and then select OK.
- In the Permissions dialog box, select the added user, select the Read check box, and clear the Full control check box.
- Select Apply and then select OK.
次のタスク
- To set up the Unattended Robot. For more information, see Set up Unattended Robot.
- To publish an automation project in RPA Desktop Design Studio. For more information, see Publish an automation project in RPA Desktop Design Studio.