How to add certificate CN and CA name in email notification
2 years ago
Originally Published: 2006-03-29
Article Number
000059027
Applies To
RSA Certificate Manager 6.6
Issue
How to add certificate CN and CA name in email notification
No information on the issuing CA, issuing jurisdiction, or Common Name is displayed in email sent to requestor when creating certificate request
Resolution
To include the issuing jurisdiction and the certificate CN in the email sent after the certificate is approved, modify the file \RSA_CM\WebServer\x-templates\x-email-notice.xuda and replacethe following lines:

...
[@LINE06=[email_message]]
[@email_body=[LINE01][LINE02][LINE03][LINE04][LINE05][LINE06]]

with the following lines:

[@LINE07=\r\nYour certificate CN is [xuda_certificate.cn]]
[@LINE08=\r\nThis certificate have been issued by [xuda_domain_config.name]]
[@email_body=[LINE01][LINE02][LINE03][LINE04][LINE05][LINE06][LINE07][LINE08]]

To include the jurisdiction and the certificate CN in the email sent when the certificate request have just been created, modify the file RSA_CM\WebServer\x-templates\x-email-admin-vettor.xuda and replace the following line:

[@LDAP_ATTRIBUTES="email_reqNoticeEnabled,email_reqNoticeSubject,email_reqNoticeBody,email_reqNoticeRecipients"]

with the following line: 

[@LDAP_ATTRIBUTES="name,email_reqNoticeEnabled,email_reqNoticeSubject,email_reqNoticeBody,email_reqNoticeRecipients"]

And below the line

 [@reqBody=[?xuda_domain_config.email_reqNoticeBody="DEFINED":xuda_domain_config.email_reqNoticeBody:]]


Also, add the following lines:

[@reqBody=[reqBody]\r\nJurisdiction Name : \r\n[xuda_domain_config.NAME]\r\n]

[@LDAP_ATTRIBUTES="common-name"]
<!-- LDAP SEARCH [ (&(objectclass=xuda_cert_req)(req-id=[req-id]))] -->

[@reqBody=[reqBody]\r\nCertificate CN is : [xuda_cert_req.common-name]\r\n]