| От | Donald Fraser |
|---|---|
| Тема | Re: ssl connection and webstart |
| Дата | |
| Msg-id | 001701c8326e$69d53170$2064a8c0@LISTINGS12 обсуждение исходный текст |
| Ответ на | ssl connection and webstart ("Michael Andreasen" <michael@dunlops.com>) |
| Список | pgsql-jdbc |
>How can I add the cert via webstart so a "user" can do this?
Are you using any standard certificates from the default certificate key
store?
If the answer is no, then one idea is to create your own certificate key
store in your software and add your certificate with java code.
You do this as part of creating your SSLSocketFactory, see attached example.
And then when your application starts up, the first thing you do before
making any connections to postgresql database is:
java.security.Security.setProperty("ssl.SocketFactory.provider",
"MyOrganisation.MyClientApp.ssl.MySSLSocketFactory");
Hope that helps.
Regards
Donald Fraser
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера