All notable changes to ssl-certificate
will be documented in this file
createFromFile
static method bugfix #127
- add lifespan in days
- get details from a certificate from string (#123)
- throw exception instead of displaying warning when download fails
- add missing exception for invalid IP address (#121)
- add function to get certificate for hostname from IP address (#119)
- set SSL option param 'peer_name' with hostname value (#113)
- expose the remote address that served the certificates in the downloader (#110)
- internals cleanup
- drop support for PHP 7.1 and below
- add check for missing 'INTL_IDNA_VARIANT_UTS46' constant
- add fingerprint sha256
- Fix SSL check for IP addresses that serve a valid SSL, i.e. 1.1.1.1
- add specific exceptions
- add support for detecting pre-certificates
- take into account that IDN functions in PHP are limited to 61 characters
- allow Carbon v2
idn_to_ascii
is not required anymore
- use port 443 by default
- normalize all hostnames to lowercase when checking validity
- fix
appliesToUrl
- add
ext-intl
dep tocomposer.json
- convert IDN to ASCII before attempting to validate
- fix bug where wildcard matching could be wrong
- close socket connection in
Downloader::fetchCertificates()
- add
getFingerprint()
- fixes for
containsDomain
: add literal and wildcard match for domains
- fix
getDomains
- fix
getDomains
- fix
getDomain
- fix keys of array with all domain names
- only return unique domain names
- fix dependencies
- make
SslCertificate
macroable
- add
containsDomain
- avoid error when issuer is empty
- add
usesSha1Hash
- add
isSelfSigned
- add
getDaysUntilExpirationDate
- add
getDomains
- add
withVerifyPeer
andwithVerifyPeerName
methods on Downloader. - add
getRawCertificateFieldsJson
,getHash
and__toString
methods onSslCertificate
- fixes bug where a peer certificate appears twice in a chain
- add
getCertificates
,usingSni
,withFullChain
methods on Downloader.
- fix wildcard matching
- fix
isValidUntil
- add fluent interface to download certificates
- lower required version of Carbon
- added
getSignatureAlgorithm
- added
isValidUntil
- initial release