There is an exception list on java security tab like the picture below.
I want to add websites to this list using the command line. Is it possible to do that?
The Oracle documentation tells us:
The location of the exception site list is set in the deployment.user.security.exception.sites property. The default location is
<deployment.user.home>/security/exception.sites
.
So you could add URLs to that file pretty easily on the command line.
Just checked, on Java 8.111 and Windows 7 Corporate it can be found at
c:\Users\%username%\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites
But I suppose that this file (as well as the whole directory chain) is not created by default. So may be you should first add it by hand, then search for the exact file location.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With