We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

SNC.DiscoveryCertificateUtil Explanation

Priyanka Jaswa1
Tera Contributor

Looking for some help to understand the below 2 lines of code 

var commonName = SNC.DiscoveryCertificateUtil.readCommonNameFromCSR(sCSR);      

var alternateName = SNC.DiscoveryCertificateUtil.readSubjectAlternateNameFromCSR(sCSR);

I understand SNC codes cannot be viewed by developers/admins, but would like to know how & what  data is getting captured which in turn gets updated in commonName and alternateName

 

0 REPLIES 0