NAME
OPCUA::Open62541::Test::CA - generate x509 certificates testing
SYNOPSIS
use OPCUA::Open62541::Test::CA;
my $ca = OPCUA::Open62541::Test::CA->new(%args);
DESCRIPTION
For module testing create keys and certificates needed for OPC UA encryption.
METHODS
- $ca = OPCUA::Open62541::Test::CA->new(%args);
-
Create a new test CA instance.
- $ca->setup()
-
Write OpenSSL config files.
- $ca->create_cert_ca(%args)
-
Create CA certificate.
- $ca->create_cert_client(%args)
-
Create client certificate.
- $ca->create_cert_server(%args)
-
Create server certificate.
- $ca->create_cert(%args)
-
Use IO::Socket::SSL::Utils and run openssl command line tool to create all kind of private keys, certificates and CRLs.
- $ca->revoke(%args)
-
Fill certificate revocation list and regenerate CRL.
SEE ALSO
OPCUA::Open62541, OPCUA::Open62541::Test::Client, OPCUA::Open62541::Test::Server
AUTHORS
Anton Borowka
COPYRIGHT AND LICENSE
Copyright (c) 2023 Anton Borowka
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Thanks to genua GmbH, https://www.genua.de/ for sponsoring this work.