Prepare Encrypted Credentials for Upgrade
This task is optional: if you do not wish to encrypt credentials used in the answer file during upgrade, you may enter them in plain text in the answer file itself (see Prepare Answer File).
For encrypted credentials, you may use either of two approaches:
- You may use your own RSA or ECDH certificate. The RSA certificates used with
this module must allow
Key Encipherment
in theirKey Usage
extension. ECDH certificates must allow theKey Agreement Key Usage
extension. If you want to use your own certificate, follow the first steps in the process below to validate that the certificate is usable for both encryption and decryption before attempting any installation. - You can use the process here, along with a supplied PowerShell module, to create both a certificate and a store, along with all the identities required. Provided that you use the same identities on each of your core application servers, you can simply copy the certificate and store to each server as appropriate, where they can be accessed using your configured answer file.
Important: The account that prepares
these encryption details in this process must be the same account that
subsequently runs the unattended installation script.
To prepare encrypted credentials for the upgrade process: