thmuelle Posted June 6, 2018 Posted June 6, 2018 Hi, i'm facing this problem since yesterday (it has run smoothly around 3-4 weeks now). In my servelt i send a get request to a server via HTTPS. jsonResponse = Request.Get(String.format("https://www.digistore24.com/api/call/<secret api key>/json/getPurchase?purchase_id=%s", "79MMBALX")) .connectTimeout(5000) .socketTimeout(5000) .execute().returnContent().asString(); and get this exception Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Since i can use this Servlet on my local computer without problems i assume that the configuration of the tomcat got corrupt. The servlet is thmuelle_licence if you want to look at your tomcat logs. If you want to check if the changes are effecting the servlet you can use the following call to check (you will get the correct response or a response with the stacktrace). http://tm-tradingzone.com/licence/api/call/checkDigistore Since i use the servlet for production i would appreciate if you can fix it very quickly. Thank you in advance. Kind regardsTh. Müller
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now