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
to 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 <icici...@gmail.com> wrote: > Hi all, > > After enabling the APR/Native connector I can see the following warning > messages upon

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 nikki.be...@gmail.com wrote: Hi Mark, My server is not on a public domain. How can i verify the setup

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 nikki.be...@gmail.com wrote: Hi Mark

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 nikki.be...@gmail.com wrote: Hi Sanaullah, That is because we have removed

Re: Setting SSL in Tomcat 7.0

2015-07-12 Thread Sanaullah
? Regards, Sanaullah On Sun, Jul 12, 2015 at 2:23 AM, Joby J. Joseph jjos...@bankboubyan.com 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 following exception. Screen for creating

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 -alias tomcat -keyalg RSA

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 be

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

Fwd: singed code deployment

2015-02-19 Thread Sanaullah
Any one there to help me on this ? Regards, Sanaullah -- Forwarded message -- From: Sanaullah sanaulla...@gmail.com Date: Fri, Feb 13, 2015 at 10:48 PM Subject: singed code deployment To: Tomcat Users List users@tomcat.apache.org Hi, I have signed the ear package using jar

Re: singed code deployment

2015-02-19 Thread Sanaullah
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 signed the ear package using jar signer and start the tomee using

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

Re: singed code deployment

2015-02-19 Thread Sanaullah
in in catalina.policy grant signedBy codesigntest Okay. So that certificate directly-signed your JAR? At runtime, do you get an error? What's the full message and stack trace? I have signed the ams_ear.ear using jar signer prior to deploying it using the following command root@pay:/home/sanaullah

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 dcker...@verizon.net wrote

singed code deployment

2015-02-13 Thread Sanaullah
accessClassInPackage.org.apache.catalina.util; }; grant signedBy codesigntest, codeBase file:${catalina.home}/apps/ams_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
=TLS sslEnabledProtocols=TLSv1.2,TLSv1.1,TLSv1 keystoreFile=lib/cert/.keystore keystorePass= / !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / On Wed, Jan 21, 2015 at 10:01 AM, Sanaullah sanaulla...@gmail.com wrote: its

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 Connector port=7443 protocol=org.apache.coyote.http11.Http11Protocol maxThreads=150 SSLEnabled=true scheme=https secure=true clientAuth=true

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 day...@gmail.com wrote: Thank you all. Now it is working fine. Connector port=8443 protocol=org.apache.coyote.http11.Http11Protocol

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

2015-01-14 Thread Sanaullah
Connector port=8443 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 ? I haven't seen any

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
/_cdrom_apache/certs/dev-apr.pem SSLCertificateKeyFile=/opt/_cdrom_apache/certs/key.pem SSLCACertificateFile=/opt/_cdrom_apache/certs/CA.pem / I hope this will work for you. Regards, Sanaullah On Thu, Dec 18, 2014 at 6:15 AM, Mike Wertheim m...@hyperreal.org

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, Sanaullah wrote: Hi Chris, Engine

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 ch

Re: APR with PKCS11 support

2014-11-14 Thread Sanaullah
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, On 10/29/14 9:54 AM, Sanaullah wrote: I again started working on SSLEngine with safenet and i need some help

Re: APR with PKCS11 support

2014-10-29 Thread Sanaullah
, 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, Sanaullah wrote: I tried that configuration but getting errrors. I just want you to know that you haven't

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

2014-09-02 Thread Sanaullah
. there will be some errors related to SSLV2. comment that code. as sslv2 will no more supported. after the successful build start the tomcat server. let me know if there is still any errors. Regards, Sanaullah On Tue, Sep 2, 2014 at 10:34 PM, Amos Anderson amos.ander...@protabit.com wrote: Hello Tomcat Users

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, Sanaullah wrote: I tried

Re: JSSE or APR

2014-08-20 Thread Sanaullah
- the 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 johnmclea...@gmail.com wrote: I'm reading through the following guide: http://tomcat.apache.org/tomcat-7.0-doc/ssl

Re: JKS keystore password Encryption

2014-08-05 Thread Sanaullah
-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: Thanks to all. I was looking something similar

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: 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 ul...@ulinxonline.net wrote: On Mon 04 Aug 2014 09:17:47 André Warnier escribió: And if someone non-authorized has access to Tomcat's server.xml

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://wiki.apache.org/tomcat/FAQ/Password -Ognjen

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=LunaCA but when i try the same parameter in tomEE

Re: APR with PKCS11 support

2014-07-25 Thread Sanaullah
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 wrote: is there a way i can use pkcs11 supported SmartCard

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: 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, On 7/10/14, 4:19 AM, Sanaullah wrote

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

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. Connector address=0.0.0.0 port=8443 SSLEnabled=true maxThreads=150 scheme=https secure=true clientAuth=false

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 sanaulla...@gmail.com wrote: Here is my configuration. I am using openssl

Re: detailed APR/SSL logging

2014-01-07 Thread Sanaullah
...@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 certs. openssl selfsinged ECC certs are also working

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

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

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 sanaulla...@gmail.com wrote: you can create the ECC self singed certificates using

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