<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [SecurityDetails](./puppeteer.securitydetails.md) > [validTo](./puppeteer.securitydetails.validto.md) ## SecurityDetails.validTo() method <b>Signature:</b> ```typescript validTo(): number; ``` <b>Returns:</b> number [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) marking the end of the certificate's validity.