

7:08, EET

July 24, 2015

I am developing an Android OPC UA Server using OPC UA Java SDK.
Error “NO SECURITY PROVIDER AVAILABLE” happened when the following code ran:
KeyPair issuerCertificate = ApplicationIdentity.loadOrCreateIssuerCertificate(“ProsysSampleCA”, privatePath, “opcua”, 3650, false);
Who has experience on developing Android OPC UA Server using OPC UA Java SDK?
8:50, EET

December 21, 2011

The problem sounds like you haven’t included the Android specific security provider (Spongy Castle, sc*.jar) to your project. Also make sure that you include them in the Order and Export section of the Build Path Configuration.
Also, the HTTPS protocol is not supported on Android – so you can ignore the Issuer Certificate and HTTPS Certificate and should disable HTTPS protocol in your server.
These Android limitations and libraries are mentioned in the README.txt file of the SDK installation.
1 Guest(s)
