NAME

Domain::Details::SSL - Domain role for SSL

VERSION

version 0.230340

METHODS

ssl_expiration

Return the SSL expiration date using Net::SSL::ExpireDate class' expire_date constructor returning a DateTime object

Accepts an argument to loosely set the date format as Year, Month, Day in sprintf syntax

ssl_issue

Return the SSL issue date using Net::SSL::ExpireDate class' begin_date constructor returning a DateTime object

Accepts an argument to loosely set the date format as Year, Month, Day in sprintf syntax

ssl_expires_soon

Return a boolean indicating if the SSL expires within the time specified

Defaults to 14 days, ie. 2 weeks which is a normal renewal date

AUTHOR

Elvin Aslanov <rwp.primary@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Elvin Aslanov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.