SSLVerifyClient statements causing problems?

SSLVerifyClient statements causing problems?

am 11.09.2002 21:46:56 von Ron Gedye

Hello List....

I searched the archives and saw a few mentions of the error that I am
seeing, but no solid solutions so here goes...


In attempting to use client certificates to provide/restrict access to
certain portions of my website I am encountering problems.

Apache 1.3.26, mod_ssl 2.8.10, OpenSSL 0.9.7-b2

I believe my syntax is correct as no errors are reported when starting
apache.
However, the server dies hard (leaving pid file) with the error in both
errorlog & ssl_engine_errorlog of:
"Unable to configure verify locations for client authentication"

This is the only error.

Example of syntax:


SSLVerifyClient none



SSLVerifyClient require
SSLVerifyDepth 1
SSLOptions +FakeBasicAuth
SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "MyOrg"



I have my SSLCACertificatePath & File set as well as the SSLCARevocation...
(Self signed CA via OpenCA 0.9.1 RC4)

Stumped on this one, (Not hard for a newby) everything was fine before
attempting the access restrictions.

Pointers Please.....

Thanks in advance

Ron

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: SSLVerifyClient statements causing problems?

am 11.09.2002 21:50:58 von Roberto Hoyle

This is a cryptographically signed message in MIME format.

--------------ms030300060901060601050508
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Ron Gedye wrote:
[snip]

>
> SSLVerifyClient require
> SSLVerifyDepth 1
> SSLOptions +FakeBasicAuth
> SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "MyOrg"
>

>
>
> I have my SSLCACertificatePath & File set as well as the SSLCARevocation...
> (Self signed CA via OpenCA 0.9.1 RC4)
>
> Stumped on this one, (Not hard for a newby) everything was fine before
> attempting the access restrictions.

Just a guess, but doesn't the SSLRequire statement require a close-paren?

r.

--------------ms030300060901060601050508
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
Content-Transfer-Encoding: base64

MIAGCSqG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vBJjh+lYFLlBT57rdA3ijMeYU/a79Cr9P/yMYIC MjCCAi4CAQEw
YjBcMQswCQYDVQQGEwJVUzEaMBgGA1UEChMRRGFydG1vdXRoIENvbGxlZ2Ux EzARBgNVBAsT
CkRhcnRtb3V0aDIxHDAaBgNVBAMTE0NlcnRpZmljYXRlIE1hbmFnZXICAgGM MAkGBSsOAwIa
BQCgggEmMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkF MQ8XDTAyMDkx
MTE5NTA1OFowIwYJKoZIhvcNAQkEMRYEFNtkWtKwkN5hXvDlg9pSCAEtH2ky MFIGCSqGSIb3
DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3 DQMCAgFAMAcG
BSsOAwIHMA0GCCqGSIb3DQMCAgEoMHMGCyqGSIb3DQEJEAILMWSgYjBcMQsw CQYDVQQGEwJV
UzEaMBgGA1UEChMRRGFydG1vdXRoIENvbGxlZ2UxEzARBgNVBAsTCkRhcnRt b3V0aDIxHDAa
BgNVBAMTE0NlcnRpZmljYXRlIE1hbmFnZXICAgGMMA0GCSqGSIb3DQEBAQUA BIGAkqJrzNFS
7ppae97Za1quqO6QKUZL+GxtUbJywQFTK/lTosjMLL7QepMd8CPBSullhvSg KS/UlwlfLrMN
mb6BphVba2NB3qHTc9FDH4NPlxl2Kd9c2pwbrUHz/51KJX68lp1dEkrGtitZ wNQW7Dk5AEA8
kMh+X1s9txdRHTtNXnIAAAAAAAA=
--------------ms030300060901060601050508--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: SSLVerifyClient statements causing problems?

am 11.09.2002 22:15:11 von Ron Gedye

Typo in my email, ( modified from actual syntax) should read:
SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "MyOrg" )
----- Original Message -----
From: "Roberto Hoyle"
To:
Sent: Wednesday, September 11, 2002 2:50 PM
Subject: Re: SSLVerifyClient statements causing problems?


> Ron Gedye wrote:
> [snip]
>
> >
> > SSLVerifyClient require
> > SSLVerifyDepth 1
> > SSLOptions +FakeBasicAuth
> > SSLRequire ( %{SSL_CLIENT_S_DN_O} eq "MyOrg"
> >

> >
> >
> > I have my SSLCACertificatePath & File set as well as the
SSLCARevocation...
> > (Self signed CA via OpenCA 0.9.1 RC4)
> >
> > Stumped on this one, (Not hard for a newby) everything was fine before
> > attempting the access restrictions.
>
> Just a guess, but doesn't the SSLRequire statement require a close-paren?
>
> r.
>

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org