Jump to content

SSL Checker


Recommended Posts

On 09/03/2019 at 04:52, Veehosty said:

Any Addons or php script available for ssl check like 

there's a recently-updated PHP script on GitHub...

Quote

The class provided by this package makes it incredibly easy to query the properties on an ssl certificate.


use Spatie\SslCertificate\SslCertificate;

$certificate = SslCertificate::createForHostName('spatie.be');
$certificate->getIssuer(); // returns "Let's Encrypt Authority X3"
$certificate->isValid(); // returns true if the certificate is currently valid
$certificate->expirationDate(); // returns an instance of Carbon
$certificate->expirationDate()->diffInDays(); // returns an int
$certificate->getSignatureAlgorithm(); // returns a string
Link to comment
Share on other sites

19 hours ago, Veehosty said:

How I Can Implement, Can You Please Give me any Documentation.

I didn't write it, nor have I used it - the documentation on how to use it is shown on that GitHub page... if you need to incorporate it into a WHMCS addon, then you may either need to pay a developer by posting in Service Offers & Requests, or request development help in the Developer Corner or Building Modules forums (though hardly any developers reply in there, so you may need to throw money at the problem if you need it resolved quickly).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated