Monitoring Tomcat over SNMP
Hi, We intend to monitor a J2EE application deployed in Tomcat 5.5 using IBM Tivoli Monitor (ITM) 6.1 over SNMP. It'll be really helpful if some information on this is provided. To be more specific the information I am looking forward to is: 1) Whether Tomcat 5.5 supports SNMP? 2) If the answer to question 1 is yes, then what is the configuration required in Tomcat, so that Tivoli can monitor it over SNMP? 3) How are the MIBs generated from the Tomcat and what information a Tomcat MIB will contain? Looking forward to an early response. Thanks and Regards, Sameek Bhaumik Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore
Re: How to add multiple SSL Certificates to Tomcat Server
Hi, Are you talking about importing multiple certificates in tomcat keystore? If yes, you can use keytool.exe to import certificates inside tomcat keystore. The sample is given below: keytool -genkey -v -alias cert1 -import -v -file C:/cert/cert1.cer -keystore C:/cert/tomcat.keystore -storepass password The pre-requisite is that the keystore file(tomcat.keystore in this case) should be present and password is tomcat keystore password. Here, we're importing 'cert1.cer' in tomcat keystore using the alias cert1. You can import another certificate, say 'cert2.cer' by specifying another alias, say cert2 in the above command. Hope that helps!! Regards, Sameek Bhaumik From: Suneel Saguturu [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, 20 November, 2008 1:04:50 PM Subject: How to add multiple SSL Certificates to Tomcat Server All- I am facing one problem, i.e. I have to configure two SSL certificates to JBoss server, I know they are internally using Tomcat for web container. Is it possible to add multiple Certificates to one server instance itself? If so, then how? Please help on this... any help is appreciated. Thanks in advance... Thanks Regards, - Suneel Saguturu. Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Setting The REMOTE_USER Environment Variable By The Client's Subject DN Using Tomcat 5.5
Hi, We’re using Tomcat 5.5 as our Web server and intend to implement SSO for our application. As a part of the requirement, we need to set the REMOTE_USER environment variable with the Subject DN retrieved from the client certificate (We’ve edited conf\server.xml, so that Tomcat listens to https requests on port 8443 and the client certificate is validated against the one stored in the tomcat truststoreFile). The corresponding part of the server.xml is: Connector port=8443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 debug=0 scheme=https secure=true clientAuth=true sslProtocol=SSL keystoreFile=C:/cert/tomcat.keystore keystorePass=password truststoreFile=C:/cert/tomcat.keystore truststorePass=password/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / We need to set this environment variable from the web server only (Tomcat 5.5 in this case) and not from our application. The value of this environment variable (REMOTE_USER) i.e. the Subject DN of the client certificate will be read by the application. We’re unable to configure Tomcat to setup the REMOTE_USER environment variable with the Subject DN of the client certificate. Any input/help/suggestion would be highly appreciated. Thanks and Regards, Sameek Bhaumik Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/