How can I Deploy my Wildcard Server Certificate when no certificate is currently in use ?
- First step is to verify that your current security configuration correspond to following screenshot : Both "Authority Certificate", "Trusted Authority" and "User Certificate" are empty and "Secure Communication" is set to "no" :
- Then verify if BCM Certificate package and rules are available on your BMC Client Management Console, we are going to modify them in order to deploy your Server Certificate files and set BCM to use them.
They should be present if your Security Checklist first line is Red in BMC Client Management Console Home Dashboard:
In case BCM Certificate package and rules are not available you can create them with this procedure.
- Now, BCM Certificate package and rules are available, here are the modification you have to do in them :
Find the "bcmcertificate" package in your Console > Packages > Package Factory > Your Master > Custom Packages node. Copy and paste it, then rename the "bcmcertificate(1)" package into "mycertificate":
For next package modification you need to create a directory on your hard disk in which you put your Authority Certificate files.
For Server Certificate there are two possibilities, keep them in mind because several of the next actions depends on them :
A) Either you only deploy and trust your Server Certificate:
On your hard disk create a "certs" directory that contains both "trusted" and "user" directories.
Then in both \certs\trusted and \certs\user directories you have to place your Server Certificate .crt file.
B) Or you can deploy both your Server Certificate and the Certificate Authority chain your Server Certificate is generated from in order to trust it:
On your hard disk create a "certs" directory that contains both "user" and "trusted" directories.
In both \certs\user directory you have to place your Server Certificate .crt file.
Then in \certs\trusted directory you have to place your Authority .crt file.
Note if your Authority is not a Root Authority, you have then to put .crt files for all Authorities from the Root up to the Authority you want to use in BCM.
For example let's say we have RootAuth -> InterAuth1 -> InterAuth2 -> ServerCertificate
Then you have to put both RootAuth.crt, InterAuth1.crt and InterAuth2.crt files in \certs\trusted directory.
Please also note that your .crt name have to be named like your Authority : a certificate file named notgoodname.crt for an myauthority Authority is ignored.
Then from the Console > Packages > Package Factory > Your Master > Custom Packages > mycertificate > Contents > Files node, remove the current "certs" folder and then add the "certs" directory you have created on your hard disk :
Then publish your "mycertificate" package to BCM Master:
You have now to replace the "bcmcertificate" package with the "mycertificate" package in rule "Step 1 - Trust BCM Certificate".
In order to do so go to Console > Operational Rules > BCM Certificate > Step 1 - Trust BCM Certificate > Packages node then remove "bcmcertificate" package and add "mycertificate" package :
Then from Console > Operational Rules > BCM Certificate > Step 1 - Trust BCM Certificate > Steps node, move the "Install Package" step from line 3 up to line 2 :
Still in rule "Step 1 - Trust BCM Certificate", deactivate step 1
Edit step 3 in rule "Step 1 - Trust BCM Certificate" in order to set "Trusted Authorities" parameter :
Case A, with your Server Certificate name. Let's say your certificate name is ServerCertificate
Case B, with your Certificate Authority full chain. For example let's say we have RootAuth -> InterAuth1 -> InterAuth2 -> ServerCertificate, then you must set :
Then modify Rule "Step 2 - Activate BCM Certificate" in order to set "User Certificate" parameter with your certificate name and "Secure Communication" with 'Securized Send, Receive Both':
Modify rule "Step 3 - Trust BCM Certificate" in order to set "Secure Communication" parameter to "Yes" :
- You can then assign rule "Step 1 - Deploy BCM Certificate" to all your devices.
Once rule "Step 1 - Deploy BCM Certificate" is successfully executed on all devices you can assign rule "Step 2 - Activate BCM Certificate" on all devices.
Same way rule "Step 3" must be successfully executed on all devices before assigning rule "Step 3 - Trust BCM Certificate" to all devices.
Notes that if rules 3 is executed on some devices while rules 1 or 2 are not executed yet on some other devices, communication is broken between these two different groups of devices.
This is why we strongly recommend that you test this procedure on few devices before implementing it on all devices.