All notable changes to ssl-certificate
will be documented in this file
- Implicit conversion from float to int Warning by @cord in #192
- @cord made their first contribution in #192
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.7...2.6.8
- Base64 encode serialized publicKeyDetail by @jszobody in #190
- @jszobody made their first contribution in #190
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.6...2.6.7
- Update README.md by @JoeHorn in #188
- Make days diff negative when using Carbon v2 by @kylekatarnls in #189
- @kylekatarnls made their first contribution in #189
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.5...2.6.6
- Add PHP 8.3 on test by @lloricode in #186
- Fix deprecated calls in test by @lloricode in #187
- Allow Carbon v3 by @lloricode in #185
- @lloricode made their first contribution in #186
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.4...2.6.5
- fix errors
- Suppress
stream_socket_client
warnings by @mbardelmeijer in #184
- @mbardelmeijer made their first contribution in #184
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.2...2.6.3
- Use stream_socket_client() exception for better message by @rudiedirkx in #183
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.1...2.6.2
- improve bc
- Introduce SslCertificate::getPublicKeyAlgorithm() and SslCertificate::getPublicKeySize() by @JoeHorn in #182
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.5.0...2.6.0
- Display connecting port in error message by @JoeHorn in #181
- @JoeHorn made their first contribution in #181
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.4.1...2.5.0
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.4.0...2.4.1
- add the ability to load from file a DER based certificate by @marco-introini in #177
- @marco-introini made their first contribution in #177
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.3.0...2.4.0
- Add getSerialNumber() by @hexathos in #176
- @hexathos made their first contribution in #176
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.2.0...2.3.0
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.3...2.2.0
- Keep original unknown error message by @rudiedirkx in #170
- @rudiedirkx made their first contribution in #170
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.2...2.1.3
- Make compatible with PHP 8.2
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.1...2.1.2
- improve URL validation
- add
toArray
andcreateFromArray
- add support for custom ports (#143)
- support spatie/macroable v2(#142)
- fix edge case when using serialized certificates
- require PHP 8+
- drop support for PHP 7.x
- use PHP 8 syntax where possible
- fix
getOrganization
method which always returned an empty result (#139)
- allow set followLocation to be set to zero, ignoring redirect (#134)
- add support for PHP 8.0
- drop support for PHP 7.3 and below
- add option to disable certificate validation in createForHostName (#132)
- add
withSocketContextOptions
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