+ Start a Discussion
Daniel RobertsDaniel Roberts 

Set up Email Alert on Certificate. Is it Possible?

Hey Guys, we have several certificates for our Salesforce Sites. I would like to create a Scheduled APEX class that runs once a day to check for approaching expiration dates. Is this possible to do? My main issue is that I'm not sure how to access the Certificate Records that have the expiration dates on them. 

Let me know, thanks. 
Raj VakatiRaj Vakati
You can write apex Job on  UserAuthCertificate


Represents a user authentication certificate in your org. A user certificate is a unique PEM-encoded X.509 digital certificate to authenticate individual users to your org. This object is available in API version 45.0 and later.


https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_userauthcertificate.htm?search_text=Certificate