You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Melanie Pfefer <me...@yahoo.co.uk> on 2009/05/06 08:52:55 UTC
[users@httpd] renewing a certificate
Hi,
I have tomcat server running as a backend server and apache running as front-end, both on the same machine
In httpd.conf, I have:
SSLProxyEngine On
RewriteEngine On
SSLProxyCACertificatePath /usr/local/apache/conf/ssl
RewriteRule ^/(abc.*) https://host:port/$1 [P,L]
I am getting an error that the certificate is out of date.
What I did before was:
keytool -export -alias tomcat -rfc > tomcat.pem
c_rehash /usr/local/apache/conf/ssl
now /usr/local/apache/conf/ssl has
server.crt
server.key
tomcat.pem
cc5d41ae.0 -> tomcat.pem
I need to know how to renew the certificate.
Is it sufficient to redo:
keytool -export -alias tomcat -rfc > tomcat.pem
c_rehash /usr/local/apache/conf/ssl
how to rollback in case of failures?
Thank you
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] renewing a certificate
Posted by Krist van Besien <kr...@gmail.com>.
On Wed, May 6, 2009 at 8:52 AM, Melanie Pfefer
<me...@yahoo.co.uk> wrote:
>
> Hi,
>
> I have tomcat server running as a backend server and apache running as front-end, both on the same machine
>
> In httpd.conf, I have:
>
> SSLProxyEngine On
> RewriteEngine On
> SSLProxyCACertificatePath /usr/local/apache/conf/ssl
> RewriteRule ^/(abc.*) https://host:port/$1 [P,L]
>
>
> I am getting an error that the certificate is out of date.
It looks like the ssl certificate used by your tomcat server is out of
date. You first need to isntall a new certificate in your tomcat
server, and then repeat what you did before to import it in to your
apache server.
Krist
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] renewing a certificate
Posted by Prasanna Ram Venkatachalam <vp...@gmail.com>.
oh.. i hope server.crt is the certificate you are using? right?
On Wed, May 6, 2009 at 5:44 PM, Prasanna Ram Venkatachalam <
vpram86@gmail.com> wrote:
> Melanie, i think keytool does not create any certificate. Its just a
> key/certificate management utility.
> http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html
>
> What did you use to get server.crt? openssl ,selfssl or some free sites
> available??
> Regards
> Prasanna Ram
> On Wed, May 6, 2009 at 12:22 PM, Melanie Pfefer <
> melanie_pfefer@yahoo.co.uk> wrote:
>
>>
>> Hi,
>>
>> I have tomcat server running as a backend server and apache running as
>> front-end, both on the same machine
>>
>> In httpd.conf, I have:
>>
>> SSLProxyEngine On
>> RewriteEngine On
>> SSLProxyCACertificatePath /usr/local/apache/conf/ssl
>> RewriteRule ^/(abc.*) https://host:port/$1 [P,L]
>>
>>
>> I am getting an error that the certificate is out of date.
>>
>> What I did before was:
>>
>> keytool -export -alias tomcat -rfc > tomcat.pem
>> c_rehash /usr/local/apache/conf/ssl
>>
>> now /usr/local/apache/conf/ssl has
>>
>> server.crt
>> server.key
>> tomcat.pem
>> cc5d41ae.0 -> tomcat.pem
>>
>>
>> I need to know how to renew the certificate.
>>
>> Is it sufficient to redo:
>>
>> keytool -export -alias tomcat -rfc > tomcat.pem
>> c_rehash /usr/local/apache/conf/ssl
>>
>> how to rollback in case of failures?
>>
>> Thank you
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> --
> Prasanna Ram
>
--
Prasanna Ram
Re: [users@httpd] renewing a certificate
Posted by Prasanna Ram Venkatachalam <vp...@gmail.com>.
Melanie, i think keytool does not create any certificate. Its just a
key/certificate management utility.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html
What did you use to get server.crt? openssl ,selfssl or some free sites
available??
Regards
Prasanna Ram
On Wed, May 6, 2009 at 12:22 PM, Melanie Pfefer
<me...@yahoo.co.uk>wrote:
>
> Hi,
>
> I have tomcat server running as a backend server and apache running as
> front-end, both on the same machine
>
> In httpd.conf, I have:
>
> SSLProxyEngine On
> RewriteEngine On
> SSLProxyCACertificatePath /usr/local/apache/conf/ssl
> RewriteRule ^/(abc.*) https://host:port/$1 [P,L]
>
>
> I am getting an error that the certificate is out of date.
>
> What I did before was:
>
> keytool -export -alias tomcat -rfc > tomcat.pem
> c_rehash /usr/local/apache/conf/ssl
>
> now /usr/local/apache/conf/ssl has
>
> server.crt
> server.key
> tomcat.pem
> cc5d41ae.0 -> tomcat.pem
>
>
> I need to know how to renew the certificate.
>
> Is it sufficient to redo:
>
> keytool -export -alias tomcat -rfc > tomcat.pem
> c_rehash /usr/local/apache/conf/ssl
>
> how to rollback in case of failures?
>
> Thank you
>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Prasanna Ram