I have written some code in Java using the java.net.URL class for reading content from a url. Using java net url connection.
The URL is a secured URL (https).
For now, I have used the suggestion in this answer Dissable SSL Verification.
But I want to do this properly (i.e not dissable ssl verification). How do I achieve this? What are the steps I need to take to achieve this?
This might have been answered already, please point me in the right direction.