Certificate Authority
Microsoft ADCS

Configure KMES Series 3

14min
this section shows you how to configure tls communication between the {{k3}} and the fxcl cng module, where you plan to run microsoft ad cs then, it covers general configurations on the {{k}} to enable microsoft ad cs to integrate with the {{k}} to manage certificate authorities in a scalable manner and have secure storage, encryption, and signing through fxcl cng configure tls communication perform the following tasks to configure tls communication between the {{k3}} and the fxcl cng module create a certificate authority generate a csr for the system/host api connection pair sign the system/host api csr export the root ca export the signed system/host api tls certificate load the exported certificates into the system/host api connection pair issue a client certificate for microsoft ad cs export the signed microsoft ad cs certificate as a pkcs #12 file the following sections describe how to perform these tasks 1| create a certificate authority (ca) log in to the kmes series 3 application interface with the default admin identities go to pki > certificate authorities and select \[ add ca ] at the bottom of the page in the certificate authority window, enter a name for the certificate container , leave all other fields set to the default values, and select \[ ok ] right click the certificate container you just created and select add certificate > new certificate on the subject dn tab, select the classic preset and set a common name for the certificate, such as tls ca root on the basic info tab, leave all fields set to the default values on the v3 extensions tab, select the certificate authority profile and select \[ ok ] the certificate container and the root ca certificate now display in the certificate authorities window 2| generate a csr for the system/host api connection pair go to administration > configuration > network options in the network options window, go to the tls/ssl settings tab under the system/host api connection pair, uncheck the use futurex certificates checkbox and select \[ edit ] next to pki keys in the user certificates section in the application public keys window, select \[ generate ] when warned that ssl will not be functional until new certificates are imported , select \[ yes ] to continue in the pki parameters window, leave all fields set to the default values and select \[ ok ] you should see that a pki key pair is loaded in the application public keys window select \[ request ] on the subject dn tab, set a common name for the certificate, such as kmes on the v3 extensions tab, select the tls server certificate profile on the pkcs #10 info tab, select a save location for the csr and select \[ ok ] when prompted that the certificate signing request was successfully written to the file location that was selected , select \[ ok ] select \[ ok ] again to save the application public keys settings the main network options window now says loaded next to pki keys for the system/host api connection pair 3| sign the system/host api csr go to pki > certificate authorities right click the system tls ca root certificate you created, then select add certificate > from request in the file browser, find and select the csr that was generated for the system/host api connection pair after it loads, you don't need to modify any settings for the certificate select \[ ok ] the signed system/host api tls certificate now shows under the tls root ca certificate on the certificate authorities page 4| export the root ca certificate go to pki > certificate authorities right click the system tls ca root certificate and select export > certificate(s) in the export certificates window, change the encoding to pem and select \[ browse ] in the file browser, go to the location where you want to save the root ca certificate specify a name for the file, and select \[ open ] select \[ ok ] a message box says that the pem file was successfully written to the location that you specified move the root ca certificate to the computer where the microsoft adcs instance is running a later section shows you how to configure and use it for tls communication with the kmes series 3 5| export the signed system/host api tls certificate go to pki > certificate authorities right click the {{k}} certificate and select export > certificate(s) in the export certificate window, change the encoding to pem and select \[ browse ] in the file browser, go to the location where you want to save the signed system/host api tls certificate specify a name for the file and select \[ open ] select \[ ok ] a message box states that the pem file was successfully written to the location that you specified 6| load the exported tls certificates into the system/host api connection pair go to administration > configuration > network options in the network options window, go to the tls/ssl settings tab under the system/host api connection pair, select \[ edit ] next to certificates in the user certificates section right click the system/host api ssl ca x 509 certificate container and select \[ import ] select \[ add ] at the bottom of the import certificates window in the file browser, select both the root ca certificate and the signed system/host api certificate, and select \[ open ] the certificate chain appears in the verified section select \[ ok ] to save the changes in the network options window, the system/host api connection pair now shows signed loaded next to certificates in the user certificates section select \[ ok ] to save and exit the network options window 7| issue a client certificate for microsoft ad cs from the csr generated from the certreq policy file go to pki > certificate authorities right click the system tls ca root certificate and select add certificate > from request in the file browser, select the adcs csr and select \[ open ] on the subject dn and basic info tabs, leave all fields set to the values that auto populate from the csr on the v3 extensions tab, select the tls client certificate profile and select \[ ok ] the ad cs certificate now displays under the system tls ca root certificate 8| export the signed microsoft ad cs certificate go to pki > certificate authorities right click the ad cs certificate and select export > certificate(s) in the export certificate window, change the encoding to pem and select \[ browse ] in the file browser, navigate to the location where you want to save the signed ad cs certificate specify a name for the file and select \[ open ] select \[ ok ] a message box states that the pem file was successfully written to the location that you specified move the signed microsoft ad cs certificate to the computer where the microsoft ad cs instance is running a later section shows you how to configure and use it for tls communication with the kmes series 3 configure general kmes settings for kmes to ad cs communication perform the following tasks to configure the kmes series 3 for communication with microsoft ad cs add a pki identity provider create an ad cs role with the required permissions create an ad cs identity with the correct assigned roles enable host api commands the following sections show you how to complete these tasks 1| add a pki identity provider this section shows you how to create a new pki identity provider, assign it a tls authentication mechanism, and add it to an identity as a credential this allows fxcl cng to authenticate with the kmes by using the signed microsoft ad cs certificate that you exported go to identity management > identity providers right click anywhere in the window and select add > provider > pki on the info tab of the identity provider editor window, specify a name for the identity provider and uncheck the enforce dual factor checkbox on the pki options tab, select \[ select ] in the certificate selector window, expand the certificate tree you created, select the ca certificate that signed the adcs and system/host api connection pair certificates, and select \[ ok ] select \[ ok ] to finish creating the pki identity provider right click the identity provider that you created and select add > mechanism > tls on the pki tab, leave all fields set to the default values select \[ ok ] to save 2| create a role for microsoft ad cs and grant it permission to use the pki identity provider go to identity management > roles and select \[ add ] at the bottom of the page in the info tab of the role editor window, leave the role type set to application , specify a name for the role, such as microsoft ad cs , and change the number of logins required to 1 leave all other fields set to the default values on the permissions tab, select the following permissions permission subpermissions certificate authority add, export, upload cryptographic operations sign keys add on the advanced tab, set allowed ports to host api only leave the other fields set to the default values and select \[ ok ] to finish creating the role go to identity management > identity providers , right click the pki identity provider, and select \[ permission ] in the set object group permissions window, select the show all roles and permissions checkbox, select the drop down menu next to the microsoft ad cs role, and select the use permission select \[ ok ] to save 3| create a new identity and assign it the microsoft ad cs role and pki authentication credentials go to identity management > identities right click anywhere in the window and select add > client application in the info tab of the identity editor window, leave the storage type set to application , and specify a name for the identity leave all other fields set to the default values the name you specify must match the common name you chose for the adcs certificate in the issue a client certificate for microsoft ad cs from the csr generated from the certreq policy file section on the assigned roles tab, select the microsoft ad cs role perform the following steps on the authentication tab select \[ add ] to add a new credential in the configure credential window, select tls certificate in the type drop down list select the provider and mechanism that you created for this integration select \[ ok ] to finish creating a credential remove the default api key mechanism, leaving only the tls certificate credential, and select \[ ok ] to save 4| enable the host api commands for the microsoft ad cs operation because fxcl cng connects to the host api port on the kmes, you must define which host api commands to enable for fxcl cng to execute to set the enabled commands, complete the following steps go to administration > configuration > host api options and enable the following commands command description and subcommands (if applicable) clky manipulate application key enable all subcommands echo communication test/retrieve version rkgp export pki key pair rkgs generate signature rkln lookup objects rkpk pop generated key select \[ save ] to finish