<h2>Unified Keystore for MID</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Summary</h3><section><ul><li><strong>Unified Keystore </strong>is a new feature introduced from Quebec to have a single keystore that can be used everywhere.<br /><br /></li><li>This allows the customers to import their own certificates into the MID Keystore and use this certificate when connecting to the instance, instead of us generating a self signed certificate.<br /><br /></li><li>Customer's configure the MID to use a custom certificate using a post installation script.<br /><br /></li><li>The procurement of the certificate bundle which involves "Client certificate" and a "Private key" from a trusted CA has to be done by the customer and Servicenow will not generate the same.<br /><br /></li><li>Command to install and remove the certificates<br /><br /> <ul><li><em><strong><agent_path>/bin/scripts/install-certificate.sh <certificate path></strong></em><br /><br /></li><li><strong><em><agent_path>/bin/scripts/install-certificate.bat</em> <certificate path></strong><br /><br /></li><li><em><strong><agent_path>/bin/scripts/remove-certificate.sh <certificate path></strong></em><br /><br /></li><li><em><strong><agent_path>/bin/scripts/remove-certificate.bat <certificate path><br /><br /></strong></em></li></ul> </li><li>The products "Agent client collector" and "Loom" connects to the MID through the web server running on the MID itself.<br /><br /></li><li>Instead of each product running its own SSL termination and each having its own certificates, the same Keystore is used there by same certificates are used here (for MID server to the instance, Agent Client Collector to MID and Loom to MID)<br /><br /></li><li>So, all the above uses the same certificate to ensure that their connections are using the same certificate.<br /><br /></li><li>Once the MID is configured with the custom certificate, the "<em><strong>Is using a custom certificate</strong></em>" option would be checked on the MID instance record.<br /><br /><img style="align: baseline;" title="" src="sys_attachment.do?sys_id=9e9bcdcf1b72b014a59033f2cd4bcbf0" alt="" width="811" height="177" align="baseline" border="" hspace="" vspace="" /></li></ul></section></div></article></div>