You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Praveen Pat <ep...@gmail.com> on 2010/02/05 00:05:40 UTC
Updating CRL in Tomcat 6 without taking it down
Hello:
I am running Tomcat 6 in SSL mode with ClientAuth=true.
Here are my Connector Properties:
<Connector protocol="org.apache.coyote.http11.Http11Protocol"
port="8443"
SSLEnabled="true"
maxThreads="150"
scheme="https"
secure="true"
clientAuth="true"
sslProtocol="TLS"
keystoreFile="one.mamoi.semdev.com.pkcs12"
keystoreType="PKCS12"
keystorePass="changeit"
truststoreFile="server.truststore"
truststorePass="changeit"
truststoreType="JKS"
crlFile="SEMDEV TEST CA.crl"
/>
The problem I have is how to update the CRL.
If I do not update the CRL, Tomcat does not let any of my users in. It
blocks all the users.
To update the CRL, I have to stop the Tomcat, and I am trying to avoid it.
Thanks in Advance.
Regards,
Praveen
RE: Updating CRL in Tomcat 6 without taking it down
Posted by Jeffrey Janner <Je...@PolyDyne.com>.
Praveen Pat said:
The problem I have is how to update the CRL.
If I do not update the CRL, Tomcat does not let any of my users in. It
blocks all the users.
To update the CRL, I have to stop the Tomcat, and I am trying to avoid
it.
Reply:
Call me naive, but if nobody can get in, what is wrong with restarting
to correct the problem?
Now, on to the heart of the problem.
AIUI, a CRL is something that is likely to be dynamic, not highly
dynamic, but changes are expected.
Most folks would probably like changes to be reflected as soon as
possible, as you'd like the system to dishonor revoked certs as soon as
they are known about.
So why doesn't Tomcat monitor the file for changes? Are their technical
or policy reasons why it is not monitored?
I'm sure there are some security gurus out there who could shed some
light on this.
******************************* NOTICE *********************************
This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If the
reader of this message is not the intended recipient or the employee or
agent responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or copying
of this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by reply or by
telephone (call us collect at 512-343-9100) and immediately delete this
message and all its attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Updating CRL in Tomcat 6 without taking it down
Posted by Bill Barker <bi...@verizon.net>.
"Praveen Pat" <ep...@gmail.com> wrote in message
news:4457dc171002041505p239b835p5107c8efa8f1d528@mail.gmail.com...
> Hello:
>
> I am running Tomcat 6 in SSL mode with ClientAuth=true.
> Here are my Connector Properties:
>
> <Connector protocol="org.apache.coyote.http11.Http11Protocol"
> port="8443"
> SSLEnabled="true"
> maxThreads="150"
> scheme="https"
> secure="true"
> clientAuth="true"
> sslProtocol="TLS"
> keystoreFile="one.mamoi.semdev.com.pkcs12"
> keystoreType="PKCS12"
> keystorePass="changeit"
> truststoreFile="server.truststore"
> truststorePass="changeit"
> truststoreType="JKS"
> crlFile="SEMDEV TEST CA.crl"
> />
>
> The problem I have is how to update the CRL.
> If I do not update the CRL, Tomcat does not let any of my users in. It
> blocks all the users.
> To update the CRL, I have to stop the Tomcat, and I am trying to avoid it.
>
This can't be done easily. The CRL file is read only when the Connector is
initialized, it isn't tracked after that. It is possible to stop and start
the Connector using JMX (or otherwise for Embedded), which is a little bit
better than restarting Tomcat. But I haven't tried doing this myself, so
there may be other issues that get in the way.
> Thanks in Advance.
>
> Regards,
> Praveen
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org