Re: Detect SSL
Re: Detect SSL
- Subject: Re: Detect SSL
- From: Johann Werner <email@hidden>
- Date: Fri, 2 May 2008 09:23:56 +0200
Hi Don,
what about getting the referer from the headers and check for a
https:// ?
jw
Am 02.05.2008 um 07:41 schrieb Don Lindsay:
Hello;
here is a dump of all the headers:
{user-agent = ( Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-
us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/
525.18 ); accept = ( text/xml,application/xml,application/xhtml
+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 );
remote_addr = ( 0:0:0:0:0:0:0:1%0 ); x-webobjects-servlet-server-
port = ( 8443 ); referer = ( https://localhost:8443/dwtm/WebObjects/dwtm.woa
); content-type = ( application/x-www-form-urlencoded ); x-
webobjects-servlet-server-name = ( localhost ); accept-encoding =
( gzip, deflate ); content-length = ( 78 ); host = ( localhost:
8443 ); accept-language = ( en-us ); connection = ( keep-alive ); }
right now I am running just in Tomcat with a SSL certificate
installed on port 8443.
Don
On May 1, 2008, at 11:40 PM, Chuck Hill wrote:
On May 1, 2008, at 8:34 PM, Don Lindsay wrote:
Dang, :) It is not in the headers :)
:-(
Any chance it is there, but you are not seeing it? Can you post
the headers?
Chuck
On May 1, 2008, at 10:06 PM, Chuck Hill wrote:
On May 1, 2008, at 7:01 PM, Don Lindsay wrote:
Hello;
I want to identify if an application is being served via SSL.
How can I do this? I have looked at all the headers available
through the request.
Is it in the headers for normal deployments. For servlets and
IIS, I have no idea. If it is not in the headers, you are not in
a good place.
Also, how can I get a handle to a client certificate if a person
has a PKI card?
No idea.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden