I have an issue with the NetCoreConsoleServer from this repo. If I execute the server on an embedded Linux arm system I get the Exception:
NotSupportedException("Creating X509Certificate from PKCS #12 store failed", ex);
with the inner exception (ex) System.Security.Cryptography.CryptographicException("The public/private key pair in the certficates do not match.")
in CertificateFactory.cs#442
In the terminal where I start the NetCoreConsoleServer, also the following lines are printed:
root@am437x-evm:~/test/opcua-server# ./NetCoreConsoleServer
.Net Core OPC UA Console Server sample
Enter key to continue booting
cryptodev_digest_update: illegal inputs
cryptodev_digest_update: illegal inputs
Exception: One or more errors occurred. (Creating X509Certificate from PKCS #12 store failed)
Does the linux image that is used is missing some libraries or libraries in the correct version? Maybe anyone has a hint...
My system: Linux am437x-evm 4.9.69-g9ce43c71ae #1 PREEMPT Mon Mar 26 12:08:26 EDT 2018 armv7l GNU/Linux