Topic RSS18:01, EEST
August 20, 2014
OfflineHi,
i wrote an OPC UA Client Application with the prosys SDK. If i run the application from my ide “Netbeans” it runs without problems. But if i create a jar-with-dependencies and run it in another folder i get the error: localApplicationInstanceCertificate is null.
It creates all the folders under PKI and also the .der file is created correctly. The .pem file is created but has a size of 0 KB. What could be the reason for this?
Thanks
Regards
Ibrahim
18:38, EEST
April 3, 2012
OfflineHi,
I assume that is some kind of “uber-jar” option, which creates only one jar with all dependencies extracted to that (I have not used Netbeans in a while).
Anyway, please use another option that is similar to “Copy required libraries into a sub-folder next to the generated JAR” (that is from Eclipse, but I would assume Netbeans has a similar option). The bouncy castle libraries do not work if the their jars are changed as they do some kind of signature check. I would assume this causes the problem, however if it still happens even with that option that keeps the jars separate, then will have to do more investigation.
– Bjarne

Log In
Register