SSL Configuration for FedEx Web Service Using the Command Line

I downloaded the FedEx web service to send smartpost and tried to run a sample file and invoke the processShipment service using the command line (Java). I get an error like

org.apache.axis2.AxisFault: WSWS7130E: no secure socket level (SSL) configuration is available for ..............

Help someone please how to configure SSL to accomplish this using the command line.

Rate your help in advance.

0
source share
1 answer

Have you been given a customer certificate and a trusted store to use when connecting to the service?

You can usually configure SSL for client authentication if you have a keystore and trust store by configuring them at runtime using the following properties

  • javax.net.ssl.keyStore
  • javax.net.ssl.keyStorePassword
  • javax.net.ssl.keyStoreType

  • javax.net.ssl.trustStore

  • javax.net.ssl.trustStorePassword
  • javax.net.ssl.trustStoreType

They can be passed at runtime as follows:

 java -cp myjar.jar com.test.Main -Djavax.net.ssl.keyStore=keystore.jks -Djavax.net.ssl.keyStorePassword=letmein -Djavax.net..... 
+1
source

Source: https://habr.com/ru/post/943701/


All Articles