swedenconnect / ca-cmc Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Current CMC client need information about the CA in order to perform some operations:
This information is currently obtained from the CA by sending a custom Admin request to the CA. A problem with this request is that this also returns information that is not needed, but which may consume lots of work by the CA, such as returning the number of issued certificates and the number of issued and non-revoked certificates.
To mitigate this, the current implementation cache CA information and has a configurable time interval deciding how old this CA information may be before re-cache.
This is still not ideal in high volume scenarios, where an unlucky user is made waiting for the CA to answer the request and where this may lead to issues that are hard to resolve because it only occurs on re-cache.
In order to maintain backwards compatibility, but still the best functionality for the future, the following re-design is proposed:
The rationale for the PreConfiguredCMCApi is to allow the sign service to issue certificate without having to do any custom CMC requests at all, making it easier to integrate the sign service with any CA supporting standard CMC.
The underlying CMC implementation fully supports PKCS#10 request format, but the AbstractCMCClient has limitations resulting in
This should be updated to allow creation of certificate issuing requests based on PKCS#10 request format, and should allow the profile parameter (regInfo) to be set freely as byte[] array.
1.9.3 has reported vulnerabilities
Exception handling should be fixed to ensure that the CMC client does not provide an unchecked exception unless the error is caused by internal misconfiguration or a programming error in its use.
All errors caused by a bad or unserviceable request should result in a checked exception.
Since the AbstractCertificateModelBuilder has been updated we need to update CMCCertificateModelBuilder
Enhance the AbstractCMCClient class to properly check and log if valid CMC data could not be obtained.
As of now, if fails first at the attempt to parse time data and the log suggests problem with time data instead of relevant information about the underlying problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.