How to add "BC" security provider

What product/components do you use and which version/fix level?

Integration Server 10.3 IS_10.3_SPM_Fix2 IS_10.3_Core_Fix4

Are you using a free trial or a product with a customer license?

Customer License

What are trying to achieve? Please describe in detail.

Hello - I’m trying to update our certificates in our PRD Integration Server. But, when setting a .p12 file, it gives me an error saying that the certificate could not be loaded.

It worked in our QAS Integration Server when I set provider to “BC”. But we don’t have this provider in our PRD environment.

So, how can I get the class of this “BC” provider and add it in our PRD Integration Server?

I did the “find ./ -name ‘bc*’” in our QAS server and it displayed the following files:

./common/runtime/bundles/platform/eclipse/plugins/bcprov_1.52.0.jar
./common/runtime/bundles/platform/eclipse/plugins/bcprov_1.65.0.jar
./MWS/server/default/temp/jetty-0.0.0.0-8585-com.softwareag.wsstack.osgi_10.3.0.0008-0550.jar-_wsstack-any-1650561600038849298.dir/webapp/WEB-INF/lib/bcel-5.2.jar
./MWS/server/default/temp/jetty-0.0.0.0-8585-com.softwareag.wsstack.osgi_10.3.0.0008-0550.jar-_wsstack-any-1650561600038849298.dir/webapp/WEB-INF/lib/bcprov-jdk15to18-1.65.0.jar
./UniversalMessaging/doc/java/bc_s.png
./UniversalMessaging/doc/cplus/bc_s.png
./WS-Stack/lib/bcel-5.2.jar
./WS-Stack/lib/shared/bcprov-jdk15to18-1.65.0.jar
./profiles/SPM/configuration/org.eclipse.osgi/252/0/.cp/WEB-INF/lib/bcel-5.2.jar
./profiles/SPM/configuration/org.eclipse.osgi/252/0/.cp/WEB-INF/lib/bcprov-jdk15to18-1.65.0.jar
./profiles/MWS_default/configuration/org.eclipse.osgi/242/0/.cp/WEB-INF/lib/bcel-5.2.jar
./profiles/MWS_default/configuration/org.eclipse.osgi/242/0/.cp/WEB-INF/lib/bcprov-jdk15to18-1.65.0.jar

Thanks in advance!

Do you get any error messages? Please provide a full error message screenshot and log file.


Error: cannot load the keystore for alias 'ABCKeyStore'. Details: attempt to initialize keystore using location(/home/abc/certs/2022/integrationserver.p12) failed.

H Lopes,
BC security provider jar is by default available in IS and part of /WS-Stack/lib/shared. Can you please verify in the IS About Page and search for “bcprov”. Also please check that what is set for “watt.security.keyStore.supportedTypes”?

Thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.