tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Setting up TLS Connection: How to read password from file
Date Mon, 13 Jul 2015 15:17:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David,

On 7/13/15 3:57 AM, david.tissen@swisspost.com wrote:
> Hi,
> 
> I'm trying to set up a tomcat 6.0.13 to use TLS connections. 
> Therefor I configure the keystorefile for my servers.
> 
> The Problem now is: Since I have several Hardware-Stages (ET, IT,
> ..) I have a pk12 keystorefiles and the corresponding password in a
> separate file for each Stage. That is used to change keystores.
> 
> Therefor the tomcat should read the password from the password
> file, but I don't see any possibility to read the password from
> file. I can only configure the password "hard" in the setup.xml.
> 
> How can I configure the setup.xml to read the password from file?

http://wiki.apache.org/tomcat/FAQ/Password

Don't worry too much about all the complaints about how you are "doing
it wrong" on that page. In your case, it seems like you have a
sensible use case. There are some techniques on that page to allow you
to use an on-disk file containing the password.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVo9Z9AAoJEBzwKT+lPKRY2XUP/0ovvFPkTG2hilYXJFpqWaqD
9igcm5FRU0oPrgKHla53jew5sbee/sVenNsKRAPgd/iYQqgCxiq/J8F/rVtdwV0n
yWsTSKAU9kUZOJgM3PPJU0aPq+v2h6k9Y99OM5i7pGd8vI0Q6cjcPcYIQRufNXJ0
fvbeI/F50ckW9WfFWVizsT1wZ3bYonmOi02ZhRA4Sbx6PjjXCH0c72FfbxdGJKbI
Acx+2SmMykarhHorEc8YrJJfvyb82+QieVgk44DaPQagB+2rujtXTy8kMTwfX6CX
/xSaXYs8MazyBK+oFVdXUw6gSaUidw2zA7kqTXyoZU7JPEm5qMjQrbnzpi0/jiNx
W7NIQyMODGVK638UQHVLv8u1UsI7FCEsPoSArY/2Dr/NBANILKuZ1LHDgrhzZImN
iDuHrSH6bZL3SIqJZBjS7SfQqDuhlgd9gogkgAlfCvohMnA6YlPqGBoCVKuQPs20
YYWSVXvf4rVEuSNtcCstJe/mRVERCeLJaJlRjYbrXSOE1aHpmL/JziB55Ys31J3r
B6fAZj8qyQuFv2BpqgEKinHPrWZjUb47aEiqMtWfsuRzQk9Pnxsm8mevNMl5hsJM
poXEZ2Qu47aASNaFZnZQN7Q/837D+hAwYiYqz9c9q5VrI2lGqYY5xJG6l/P9WPcj
0ujfawxitjh9sUpOUjgm
=afW+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message