Re: SSL Session Reuse in APR based connector

2015-11-27 Thread Sanaullah
Thanks Chirs. On Thu, Nov 26, 2015 at 11:12 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Sanullah, > > On 11/26/15 11:21 AM, Sanaullah wrote: > > we are currently running tomcat 8 and I am trying to achieve higher > > performance. one of the proces

SSL Session Reuse in APR based connector

2015-11-26 Thread Sanaullah
use? Regards, Sanaullah

Re: Tomcat 7 and APR connector parameters

2015-09-21 Thread Sanaullah
[1] https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support Regards, Sanaullah On Mon, Sep 21, 2015 at 12:37 PM, Igor Cicimov wrote: > Hi all, > > After enabling the APR/Native connector I can see the following warning > messages upon tomcat restart: > > WARNING: [

Re: FIPS compliancy on Tomcat 7.00.062

2015-08-05 Thread Sanaullah
if you remove the entire ciphers attribute from the server.xml then by default ssl/TLS session pick the best available cipher from the ssl/tls handshake version. On Wed, Aug 5, 2015 at 4:10 PM, Nikitha Benny wrote: > Hi Sanaullah, > > That is because we have removed the entire

Re: FIPS compliancy on Tomcat 7.00.062

2015-08-05 Thread Sanaullah
run this command with debugging prints. openssl s_client -connect 16.183.93.84:8444 -debug -msg > Protocol : *TLSv1.2* > Cipher: it seems something broken as there is no Cipher Regards, Sanaullah On Wed, Aug 5, 2015 at 3:52 PM, Nikitha Benny wrote: > Hi Mark, Sanaullah,

Re: FIPS compliancy on Tomcat 7.00.062

2015-08-05 Thread Sanaullah
Hi Nikhita, run the sslscan tool from the command line or openssl s_client in debug mode https://github.com/rbsec/sslscan Regards, Sanaullah On Wed, Aug 5, 2015 at 2:23 PM, Nikitha Benny wrote: > Hi Mark, > > My server is not on a public domain. > How can i verify the setup w

Re: Setting SSL in Tomcat 7.0

2015-07-12 Thread Sanaullah
>>"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSA I don't know whats the output of the above command which run and either its executed successfully or not You can follow the below example. I am using linux Machine. root@ubuntu:/home/sanaullah# keytool -genkey

Re: Setting SSL in Tomcat 7.0

2015-07-12 Thread Sanaullah
ate the keystore ? Regards, Sanaullah On Sun, Jul 12, 2015 at 2:23 AM, Joby J. Joseph wrote: > Hi, > > > > I need a help for setting up the SSL in Tomcat Server 7.0. > > > > I have created keystore and changed the server.xml file. But, I am getting > the follow

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Sanaullah
I think in ubuntu/Debian, you can create the file in /usr/share/tomcat7/bin/setenv.sh but still you have to explore, as i am not using the deb package for tomcat installation On Tue, May 19, 2015 at 6:58 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAG

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Sanaullah
so where did you specify your Apr lib path for tomcat? you can set the Apr lib path in setenv.sh in tomcat bin folder JAVA_OPTS="$JAVA_OPTS -Djavax.net.debug=all" CATALINA_OPTS="-Djava.library.path=/usr/lib/x86_64-linux-gnu/apr/lib" you should verify the path and restart the tomcat again also may

Re: singed code deployment

2015-02-19 Thread Sanaullah
I haven't seen anything in the log related to signature verification even i wrote the wrong certificate alias in the catalina.policy file. the resultant log will be the same INFO - Loaded APR based Apache Tomcat Native library 1.1.32 using APR version 1.5.1. INFO - APR capabilities: IPv6 [true]

Re: singed code deployment

2015-02-19 Thread Sanaullah
deploying it using the following command root@pay:/home/sanaullah# jarsigner -verbose -keystore /home/sanaullah/codesigntest.jks -storepass test /home/sanaullah/apache-tomee-webprofile-2.0.0-SNAPSHOT/apps/ams_ear.ear codesigntest updating: META-INF/CODESIGN.SF updating: META-INF/CODESIGN.RSA a

Re: singed code deployment

2015-02-19 Thread Sanaullah
licy grant signedBy "codesigntest" Regards, Sanaullah On Thu, Feb 19, 2015 at 8:13 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 2/13/15 12:48 PM, Sanaullah wrote: > > I have

Re: Fwd: singed code deployment

2015-02-19 Thread Sanaullah
Thanks David, I think the security Manager is the same as tomcat[1] but need to get some clue on how code signature verification is done? tomcat.apache.org/tomcat-8.0-doc/security-manager-howto.html Regards, Sanaullah On Thu, Feb 19, 2015 at 7:29 PM, David kerber wrote: > On 2/19/2015 8

Fwd: singed code deployment

2015-02-19 Thread Sanaullah
Any one there to help me on this ? Regards, Sanaullah -- Forwarded message -- From: Sanaullah Date: Fri, Feb 13, 2015 at 10:48 PM Subject: singed code deployment To: Tomcat Users List Hi, I have signed the ear package using jar signer and start the tomee using ./startup.sh

singed code deployment

2015-02-13 Thread Sanaullah
_ear/ams_ear.ear" { permission java.security.AllPermission; }; grant signedBy "codesigntest", codeBase "file:${catalina.home}/apps/ams_ear/*" { permission java.security.AllPermission; }; Regards, Sanaullah

Re: SSL issue in tomcat

2015-01-21 Thread Sanaullah
" >clientAuth="false" sslProtocol="TLS" > sslEnabledProtocols="TLSv1.2,TLSv1.1,TLSv1" > keystoreFile="lib/cert/.keystore" > keystorePass="" /> > > > > On Wed, Jan 21, 2015 at 10:01 AM, Sanaullah wr

Re: SSL issue in tomcat

2015-01-20 Thread Sanaullah
its not necessary to have ciphers properties but if you want to restrict the ciphers then you can use this property. On Wed, Jan 21, 2015 at 6:53 AM, Jason Y wrote: > Thank you all. Now it is working fine. > > maxThreads="150" SSLEnabled="true" scheme="https" > secure="true" >

Re: SSL issue in tomcat

2015-01-20 Thread Sanaullah
Please follow the Apache document for the connector configuration. Here is the sample connector configuration [1] http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html On Tue, Jan 20, 2015 at 2:17 PM, Jason Y wrote: > Hi folks, > > Recently my application cannot be accessible in browser wi

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Sanaullah
> protocol="org.apache.coyote. http11.Http11Protocol" > SSLEnabled="true" maxThreads="200" scheme="https" > secure="true" keystoreFile="/home/myuser/key.keystore" > keystorePass="mypass" clientAuth="false" sslProtocol="TLS" > /> May be its due to the truststore file

Re: "Invalid Server SSL Protocol" on Tomcat 8.0.15 with Tomcat Native library 1.1.32 and APR 1.5.1

2014-12-17 Thread Sanaullah
Hi Mike. here is my working configuration with APR. I hope this will work for you. Regards, Sanaullah On Thu, Dec 18, 2014 at 6:15 AM, Mike Wertheim wrote: > > I should have included this in the previous message. > > The AprLifecycleListener is declared in server.x

Re: APR with PKCS11 support

2014-12-01 Thread Sanaullah
Hi Chris, I have attached the diff.let me know if its ok? Regards, Sanaullah On Fri, Nov 21, 2014 at 2:08 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 11/18/14 10:26 PM, Sanau

Re: APR with PKCS11 support

2014-11-18 Thread Sanaullah
Preprocessor #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES Changed to #if 1 //HAVE_ENGINE_LOAD_BUILTIN_ENGINES ENGINE_cleanup(); #if 1 //HAVE_ENGINE_LOAD_BUILTIN_ENGINES ENGINE_load_builtin_engines(); #endif Regards, Sanaullah On Wed, Nov 19, 2014 at 12:36 AM, Christopher Schultz <

Re: APR with PKCS11 support

2014-11-14 Thread Sanaullah
ative-1.1.31-src/jni/native' make: *** [all-recursive] Error 1 I am not sure what to do here ? Regards, Sanaullah On Sat, Nov 15, 2014 at 7:16 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah,

Re: APR with PKCS11 support

2014-10-29 Thread Sanaullah
Server SSL Protocol (error:140A90F1:SSL routines:SSL_CTX_new:unable to load ssl2 md5 routines) at org.apache.tomcat.jni.SSLContext.make(Native Method) at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:498) ... 16 more Regards, Sanaullah On Wed, Aug 6, 2

Re: Does APR/tomcat-native support TLS 1.2?

2014-09-02 Thread Sanaullah
ors. Regards, Sanaullah On Tue, Sep 2, 2014 at 10:34 PM, Amos Anderson wrote: > Hello Tomcat Users -- > > I posted this question elsewhere yesterday and then realized I should have > sent it to this mailing list. > > > I'm trying to configure tomcat7 to support TLS 1.

Re: APR with PKCS11 support

2014-08-25 Thread Sanaullah
Hi Chris, did you get any chance to take a look into the issue ? Regards, Sanaullah On Wed, Aug 6, 2014 at 5:12 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sunaullah, > > On 7/26/14, 4:50 AM

Re: JSSE or APR

2014-08-20 Thread Sanaullah
APR/native connector. [1] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support_-_APR/Native Regards, Sanaullah On Wed, Aug 20, 2014 at 9:08 PM, John McLean wrote: > I'm reading through the following guide: > > > http://tomcat.apache.org/tomcat-7.0-d

Re: JKS keystore password Encryption

2014-08-05 Thread Sanaullah
#sect-Secure_Remote_Password_Protocol Regards, Sanaullah On Wed, Aug 6, 2014 at 5:34 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 8/4/14, 9:19 PM, Sanaullah wrote: > > T

Re: JKS keystore password Encryption

2014-08-04 Thread Sanaullah
Blagojevic < ognjen.d.blagoje...@gmail.com> wrote: > Sanaullah, > > > On 4.8.2014 17:26, Sanaullah wrote: > >> I will also search the archive as well. >> > > You may find Wiki also useful: > > http://wi

Re: JKS keystore password Encryption

2014-08-04 Thread Sanaullah
Thanks Andre and Ulises. I will also search the archive as well. Regards, Sanaullah On Mon, Aug 4, 2014 at 8:07 PM, Ulises González Horta wrote: > On Mon 04 Aug 2014 09:17:47 André Warnier escribió: > > And if someone non-authorized has access to Tomcat's server.xml, then you &

JKS keystore password Encryption

2014-08-04 Thread Sanaullah
Hi, is there a way i ca replace plain JKS keystore password with encrypted password in tomcat server.xml? Regards, Sanaullah

Re: APR with PKCS11 support

2014-07-26 Thread Sanaullah
at 8:05 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 7/25/14, 9:16 AM, Sanaullah wrote: > > httpd is working with HSM with addition of parameter > > SSLCryptoDevice=LunaC

Re: APR with PKCS11 support

2014-07-25 Thread Sanaullah
aCA3' did not find a matching property. Any Idea? Regards, Sanaullah On Thu, Jul 10, 2014 at 7:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 7/10/14, 4:19 AM, Sanaullah wro

Re: APR with PKCS11 support

2014-07-10 Thread Sanaullah
Thanks chris, I haven't tried such configurations with httpd. I will explore now. Regards, Sanaullah On Thu, Jul 10, 2014 at 7:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah,

APR with PKCS11 support

2014-07-10 Thread Sanaullah
Hi All, is there a way i can use pkcs11 supported SmartCard/token when using APR based SSL Connector in tomcat ? PEM encoded certificates and keys are stored in smartcard. I know BIO/NIO connectors supported token/HSM but I am looking for APR based connectors? Regards, Sanaullah

Re: detailed APR/SSL logging

2014-01-07 Thread Sanaullah
ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 1/7/14, 8:06 AM, Sanaullah wrote: > > This issue is only with my ECC certificates. the whole > > configuration works pretty good with TLS1.2 when i am using the RSA > &g

Re: detailed APR/SSL logging

2014-01-07 Thread Sanaullah
This issue is only with my ECC certificates. the whole configuration works pretty good with TLS1.2 when i am using the RSA certs. openssl selfsinged ECC certs are also working. On Tue, Jan 7, 2014 at 5:56 PM, Sanaullah wrote: > Here is my configuration. I am using openssl. I haven't i

Re: detailed APR/SSL logging

2014-01-07 Thread Sanaullah
Here is my configuration. I am using openssl. I haven't installed any certificate to JVM truststore. On Tue, Jan 7, 2014 at 5:44 PM, Martin Gainty wrote: > > > > > > > Date: Tue, 7 Jan 2014 14:51:21 +0500 > > Subject: detailed APR/SSL logging > > From: sanaulla...@gmail.com > > To: users@t

detailed APR/SSL logging

2014-01-07 Thread Sanaullah
Hi, Anyone knows, how do i can get the detailed APR/SSL debug logs. i need to know where my SSL session is getting broken? there is nothing in the catalina.out log. usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } Jan 07, 2014 1:43:12

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-05 Thread Sanaullah
most of the people puking here regarding the tlsv1.1 and tlsv1.2 support in tomcat 7.0.47 or just trying them-self to look over smart. Hi Mudassir, By default there is no support for TLSv1.1 or TLSv1.2 in Tomcat 7.0.47. you have to apply these two patches in order to run TLSv1.1 and tlsv1.2 https

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-04 Thread Sanaullah
there is also a bug fixed for the support of TLS1.1 and TLS1.2 by Marcel Šebek. may be that need to apply https://issues.apache.org/bugzilla/show_bug.cgi?id=53952#c1 On Sun, Jan 5, 2014 at 8:18 AM, Sanaullah wrote: > you can create the ECC self singed certificates using the below

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-04 Thread Sanaullah
you can create the ECC self singed certificates using the below two commands of Openssl openssl ecparam -out sinful.key -name prime256v1 -genkey openssl req -x509 -new -key sinful.key -out sinful-ca.pem -outform PEM -days 3650 root@ubuntu:/# openssl s_client -connect localhost:8443 CONNECTED(

Fwd: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-03 Thread Sanaullah
Hi Chuck. I just also took interest to dig this issue. The Document which you were referring http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support_-_APR/Native, is clearly stated that only SSLv2, SSLv3, TLSv1 is support by SSLProtocol Attribute. SSLCipherSuite will only be support