Installing new SSL certificate on SCOM 2012 R2
Installing new SSL certificate on SCOM 2012 R2
1- Create a setup information file for use with the CertReq command-line utility
To create a setup information “RequestConfig.inf.” in order to utilize for cert requests
[NewRequest]
Subject="CN=<FQDN of computer you are creating the certificate, for example, the gateway server or management server.>"
Exportable=TRUE
KeyLength=2048
KeySpec=1
KeyUsage=0xf0
MachineKeySet=TRUE
[EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1
OID=1.3.6.1.5.5.7.3.2
--------------------
Add additional OIDs here
-------------------
An OID is a numeric value that identifies the application or service for which a certificate is used and is automatically attached to a certificate when it is created by a certificate authority (CA). For example, certificates used for client authentication use the OID 1.3.6.1.5.5.7.3.2.
To view OIDs:
Run | mmc add the certificates Snap-in| Personal |Certificates
Select current certificate | Right click and click on properties
You can also right click and Open
Details |Enhanced Key Usage
Here is what you will see:
Server Authentication (1.3.6.1.5.5.7.3.1)
Client Authentication (1.3.6.1.5.5.7.3.2)
IP security IKE intermediate (1.3.6.1.5.5.8.2.2)
Unknown Key Usage (1.3.6.1.5.5.7.3.17)
2- Create a certificate Request from .inf file
CertReq –New –f RequestConfig.inf CertRequest.req
Once you receive the certificate save as .p7b
3 -To install the certificate run the following command:
certreq -accept cert.p7b
4- Import the certificate for SCOM to utilize
The SCOM certificate are stored here
Run | mmc | add the certificates Snap-in Certificates:
Expand Operations Manager| Certificates.
You must delete the expired certificate first
If you do not find SupportTools folder in SCOM’s directory below
%Drive%\Program Files\Microsoft System Center 2012 R2\Operations Manager\
You can copy it from installation media and then use the MOMCertImport.exe within
Navigate to run MOMCertImport.exe command
%IDrive%\Program Files\Microsoft System Center 2012 R2\Operations Manager\SupportTools\AMD64
MOMCertImport /SubjectName %computername%
SCOM generates a certificate for one year
Comments
Post a Comment