This script will create a certificate good for 5 years (this length can be changed) with the intent to be used for Advanced Workflow over HTTPS. It will export a copy of the cert to the desktop and password protect it with the supplied password. It will also import that same cert into the trusted root store so it shouldn't give any validation errors when visiting the AWF authentication test URL (https://<your site>:8443/wpservices/rest/auth). Ideally, you would want to use this in a development environment and not a production environment. Stick to using certs issued by a CA for production environments.
1. Make sure the user that is running the script has the proper rights to not only run Powershell commands on the server but to also create certs in the cert store.
2. Place the script on the server you intend to install the script on.
3. Right-click the PS1 file and click "Edit."
4. Make the changes below to tailor the certificate to your environment (image of that section below):
-FriendlyName: This should be something you can recognize from within the cert-manager as the cert for the AWF service
-Subject: This should be the hostname or FQDN of the server that this cert will be used on.
-DnsName: This should be the hostname or FQDN of the server that this cert will be used on.
-String: Change "Password123$" to the password you would like to use to protect the cert file that is exported.
5. Run the script.
3/2/2020 - Initial Release
This is not an official RSA supported script.
It is provided as-is.
Please make sure to follow your proper change management procedures and have a current backup in place in the event that something goes wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.