in my FileInputStream I get a FileNotFoundException,
but I know he file exists, I can download it with the webbrowser.
It also works if I copy the Link from the exception to webbrowser.
Rights are on RWX to everyone for testing, but this doesn’t help.
there are no special signs in the filename…
I have no idea why this fails..
thx 4 help!
EDIT:
KeyStore ts = KeyStore.getInstance("PKCS12");
ts.load(new FileInputStream("http://192.168.1.1/ordner/myFile.p12"), passwKey);
KeyManagerFactory tmf = KeyManagerFactory.getInstance("SunX509");
tmf.init(ts, passwKey);
I changed the link for security reasons
You should use
instead of a
FileInputStream.