Download the PHP package rollerworks/x509-validator-symfony without Composer
On this page you can find all versions of the php package rollerworks/x509-validator-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rollerworks/x509-validator-symfony
More information about rollerworks/x509-validator-symfony
Files in rollerworks/x509-validator-symfony
Package x509-validator-symfony
Short Description X509Validator Constraints for Symfony
License MIT
Informations about the package x509-validator-symfony
Rollerworks X509Validator Symfony Bridge
This package provides the Symfony validator/bundle integration for the X509 TLS certificate/private-key validators.
The X509 TLS certificate/private-key validators validate the following:
- CA chain completeness
- PrivateKey bits length
- Signature algorithm
- OCSP Revocation status (requires internet access)
- Certificate purpose
- Certificate general validity (private-key compatibility, not expired, readable)
- Certificate hostname pattern supported, and protection against global wildcards of public-suffix length violations
Installation
To install this package, add rollerworks/x509-validator-symfony
to your composer.json:
Now, Composer will automatically download all required files, and install them for you.
Symfony Flex (with contrib) is assumed to enable the Bundle and add required configuration. https://symfony.com/doc/current/bundles.html
Otherwise enable the following bundles:
Rollerworks\Component\PdbSfBridge\Bundle\RollerworksPdbBundle
Rollerworks\Component\X509Validator\Symfony\Bundle\RollerworksX509ValidatorBundle
And add the following configuration:
Requirements
You need at least PHP 8.2, internet access is required if you want to validate a certificate's OCSP status or automatically update the PublicSuffixList.
The public-suffix and top-level domain needs to manually updated from time
to time. When internet access is available the PdbManager (provided by rollerworks/pdb-symfony-bridge
)
will automatically download the list and store it in the cache.
If no internet access is available, the local cache needs to refreshed manually. See https://github.com/rollerworks/PdbSfBridge#offline-usage for instructions.
Basic Usage
- Constraints
- Registering validators (manual integration)
Versioning
For transparency and insight into the release cycle, and for striving to maintain backward compatibility, this package is maintained under the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org/.
License
This library is released under the MIT license.
Contributing
This is an open source project. If you'd like to contribute, please read the Contributing Guidelines. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section.
All versions of x509-validator-symfony with dependencies
rollerworks/x509-validator Version ^0.2.1 || ^0.3
symfony/config Version ^6.4 || ^7.0
symfony/translation Version ^6.4 || ^7.0
symfony/validator Version ^6.4 || ^7.0