You can import the same certificate which is being used in weblogic in client and run the program.Then you may not get errors related to SSL certificate.
My question is how do we import the certificate using the above mentioned API? I am specifically looking for a way to set this certificate using the API.
Please let me know from API ;point of view.
I am unable to understand the background why you need to implement API for importing certificate too.Yes,it is understandable to use API to deploy applications on weblogic,but for communication with server using SSL since its a one time job if you are going for production,you need to import it to your client certificate and use it.But yes there are ways to achieve it programatically,not sure whether the classes like weblogic.security.SSL.* are deprecated.