A simple Certificate Manger API that can be used to generate self-signed certificates for testing purposes.
Initialy it was used to generated self-signed eIDAS certificates for internal use while developing solutions for the European PSD2 directive (Revised Directive on Payment Services). It can be used to create other certificates as well omitting the eIDAS extensions.
PSD2 is the European Commission proposal to create safer and more innovative European payments (PSD2, Directive (EU) 2015/2366). The new rules aim to better protect consumers when they pay online, promote the development and use of innovative online and mobile payments such as through open banking, and make cross-border European payment services safer.
An important element of the directive is the demand for common and secure communication (CSC). eIDAS-defined qualified certificates are demanded for website authentication and electronic seals used for communication between financial services players. The technical specification ETSI TS 119 495 defines a standard for implementing these requirements
In order to be able to test our PSD2 implementation we needed a simple convenient way to generate self-signed test certificates and this api provides this service eIDAS certificates.
- the PSD2 directive
- the XS2A spec
- ETSI TS 119 495
- Understanding Internet Security & eIDAS Certificates
You will need to have .NET Core
To run the application type the following command:
dotnet run --project CertificateManager.csproj
Or if you have already built the project.
dotnet CertificateManager.dll
This will run the API:
Hosting environment: Production
Content root path: C:\Users\audunn\source\repos\CertificateManager\CertificateManager\bin\Debug\netcoreapp2.2
Now listening on: http://localhost:5000
Now listening on: https://localhost:5001
Application started. Press Ctrl+C to shut down.
When you browse to the url you will get a swaggerUI interface to explore the endpoints.
- .netcore - The general-purpose development platform used
- Serilog - Serilog logging for ASP.NET Core. Simple .NET logging with fully-structured events
- BouncyCastle.NetCore - The Bouncy Castle Crypto package is a C# implementation of cryptographic algorithms and protocols
- Auðunn Baldvinsson - Initial work - audunn
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.txt file for details
- Imported from https://github.com/audunn/CertificateManager
- Inspiration by https://github.com/adorsys/psd2-accelerator