Portál AbcLinuxu, 12. května 2025 12:42
The initial password of the "cacerts" keystore file is "changeit". System administrators should change that password and the default access permission of that file upon installing the SDK.Pokud heslo necham defaultni - je to "changeit". V manualu ho ale doporucuji ho zmenit. Pokud heslo zmenim, stejne ho jave musim predat jako parametr v plaintextu - cili si to heslo pak muze precist kazdy uzivatel, ktery na danem serveru shell (ps aux). Nejak mi tedy unika duvod nutnosti heslo menit - muze mi to prosim nekdo osvetlit?
System.setProperty("javax.net.ssl.trustStorePassword", "tajneH3sl0");
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.