You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Barker <wb...@wilshire.com> on 2006/06/02 11:20:19 UTC

Re: How to hide the keystorePass at the server.xml

TC 3.3.x had an optional module to do this.  It never got ported.

I generally agree with most of the people that say that this is the least of 
your problems.  If you are usings a self-signed cert, then you are just 
getting what you deserve.  Otherwise, you simply contact the CA and revoke 
the cert:  At least this problem solved :).  Now, how to deal with the fact 
that the hacker just uploaded 10,000 credit-card numbers, since my jdbc 
password was in the clear :).

"Dickson Lam (dilam)" <di...@cisco.com> wrote in message 
news:C99477645D09FA43ADF9A3B8874E7E7701DA7170@xmb-sjc-21c.amer.cisco.com...
Hi,



I am using Tomcat 5.5.16 window version. When I configure Tomcat to use
SSL, I need to put the "keystorePass" password on the Tomcat server.xml
file which is in plain text format.



Is it anyway I can hide the keystore password from the server.xml? or
configure Tomcat to read in an encrypted "keystorePass" password and
decrypted the password during startup?



Regards

Dickson





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


Re: Problem while deploying war

Posted by Mark Thomas <ma...@apache.org>.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this  makes your new message appear as part
of the old thread. This makes it harder for other users to find
relevant information when searching the lists.

This is known as thread hijacking and is behaviour that is frowned
upon on this list. Frequent offenders will be removed from the list.
It should also be noted that many list subscribers automatically
ignore any messages that hijack another thread.

The correct procedure is to create a new message with a new subject.
This will start a new thread.

Mark
tomcat-user-owner

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


Problem while deploying war

Posted by Venkatesh Babu <ve...@yahoo.com>.
Hi all,

I'm using Tomcat 4.1.31.

I have a war file and I'm using the ant target
"<deploy>" to deploy this war. Here is the code
snippet of my build.xml :

    <property name="tomcat.server.name"
value="localhost"/>
    <property name="tomcat.server.port" value="8080"/>
    <property name="tomcat.user.name" value="admin"/>
    <property name="tomcat.user.password"
value="admin"/>

    <property name="app.deploy.manageurl"
value="http://${tomcat.server.name}:${tomcat.server.port}/manager"/>


    <target name="deployapp" depends="war">
        <deploy
               url="${app.deploy.manageurl}"
               path="/app1"
	       war="${basedir}/app1.war"
               username="${tomcat.user.name}"
               password="${tomcat.user.password}"/>
    </target>

But when I call this target, I'm getting a strange
error:

BUILD FAILED
C:\temp\app1\build.xml:33:
java.net.MalformedURLException: unknown protocol: c

I have taken "catalina-ant.jar" from
${TOMCATHOME}/lib/ and placed that in ${ANT_HOME}/lib
but still having this problem.

Can anybody help me and point out what might be the
problem?

Thank you,
Venkatesh


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: How to hide the keystorePass at the server.xml

Posted by David Wall <d....@computer.org>.
Leon Rosenberg wrote:
> On 6/2/06, Bill Barker <wb...@wilshire.com> wrote:
>> TC 3.3.x had an optional module to do this.  It never got ported.
>>
>> I generally agree with most of the people that say that this is the 
>> least of
>> your problems.  If you are usings a self-signed cert, then you are just
>> getting what you deserve.  Otherwise, you simply contact the CA and 
>> revoke
>> the cert:  At least this problem solved :).  Now, how to deal with 
>> the fact
>> that the hacker just uploaded 10,000 credit-card numbers, since my jdbc
>> password was in the clear :).
>
> Actually you are not allowed to save credit card numbers unless you
> are a certified payment provider (which implies major security
> constraints).
> Even a certified payment provider is not allowed to store cvc codes,
> and without the codes the credit card numbers are useless. (amazon of
> course is an exception to this rule...)
> However, if you saving cc-numbers or bank accounts or any other
> payment related data in your database unencrypted you belong in jail
> :-)
> But please feel free to tell us that you are doing one of the above,
> so we know which sites to avoid :-)
Somewhat true, but nearly every site that collects payment information 
and charges at a later date stores that information until the card is 
actually processed, and many businesses do not charge the card until the 
product/service has been delivered. 

Furthermore, that simply begs the issue, since it could be SSN, 
salaries, student loan info, job histories, etc. that become vulnerable.  

I don't think there's much argument that allowing the option to manually 
enter the keystore password is a bad thing, just that protecting an SSL 
cert is only a small concern if your filesystem has been compromised.

David

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


Re: How to hide the keystorePass at the server.xml

Posted by Leon Rosenberg <ro...@googlemail.com>.
On 6/2/06, Bill Barker <wb...@wilshire.com> wrote:
> TC 3.3.x had an optional module to do this.  It never got ported.
>
> I generally agree with most of the people that say that this is the least of
> your problems.  If you are usings a self-signed cert, then you are just
> getting what you deserve.  Otherwise, you simply contact the CA and revoke
> the cert:  At least this problem solved :).  Now, how to deal with the fact
> that the hacker just uploaded 10,000 credit-card numbers, since my jdbc
> password was in the clear :).

Actually you are not allowed to save credit card numbers unless you
are a certified payment provider (which implies major security
constraints).
Even a certified payment provider is not allowed to store cvc codes,
and without the codes the credit card numbers are useless. (amazon of
course is an exception to this rule...)
However, if you saving cc-numbers or bank accounts or any other
payment related data in your database unencrypted you belong in jail
:-)
But please feel free to tell us that you are doing one of the above,
so we know which sites to avoid :-)

regards
leon

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