Regarding (http-https)

2006-09-10 Thread keyur sheth

Hi Bill,
   

   I already posted the problem and you suggested me
the following thing to do.
   Where should I put the sslimplementation tag in 
the Connector tag. Because in the tomcat documentation for 
SSL this type of tag is not there. So can you please elaborate
on this. And also give me the correct syntax for ssLImplementation.

   Can you please suggest me the solution.



-
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.

Error while converting tomcat container from http to https

2006-09-06 Thread keyur sheth
Hi everybody,
   
 I am trying to make the tomcat container secure by 
converting it from http to https. I am using the documentation on the  
following website. 
  http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html
   
 I had implemented this before by creating the self-signed 
certificate and it worked. But for converting it to make it trusted I deleted 
all the files like the .keystore file and created the new .keystore and 
followed the steps in documentation.
   
 I am implementing the part in which you send the CSR to 
the CA for gettting the trusted certificate. So I sent the CSR and got the 
three certificates from the trusted authority. The root certificate, chain 
certificate and the signed certificate. I imported all the certificate files 
one by one following the sequence root, chain and signed certificate.
   
 But now there is some error by which I am not able to see 
the page when I write the URL with https://.xxx.xxx:8443/gridsphere. But if 
I give http://.xxx.xxx:8080/ tomcat is starting and also also  
http://.xxx.xxx:8080/gridsphere the gridsphere application is starting. I 
shutdown the tomcat and also restarted the tomcat by making all these changes. 
But still it didn't showed up. The error shown is as follows:-
   
  Sep 2, 2006 1:39:14 PM org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.io.IOException: Couldn't find private key in this file
at 
org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.init(PureTLSSocketFactory.java:149)
at 
org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.createSocket(PureTLSSocketFactory.java:69)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
at 
org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:149)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:95)
at org.apache.catalina.connector.Connector.start(Connector.java:1089)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:459)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 2, 2006 1:39:14 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  Protocol handler start failed: java.io.IOException: 
Couldn't find private key in this file
at org.apache.catalina.connector.Connector.start(Connector.java:1091)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:459)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

   
  Can somebody tell me what mistake I am doing. Have anybody faced 
the same problem before.
   
  Thanking you,
  Keyur


   
   


-
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

Regarding SSL (http-https) installation or importing the trusted certificate

2006-09-01 Thread keyur sheth
Hi everybody,
   
 I am trying to convert the tomcat container from http to 
https. But I want to do it by installing the trusted certificate. So I wanted 
to know how would you install the trusted certificate into your keystore. 
   
 First of all I created the CSR and send it to the CA who 
will sign the CSR and returned me a chain of certificates. One is root 
certificate, intermediate certifcate and the CSR signed certificate. So I 
created the CSR with alias tomcat. Now I have a confusion of how should I 
install or import the certificate into the keystore. I can import the root 
certificate by creating the alias root, the chain certificate by creating the 
alias chain. But the confusion I have is do I have to import the CSR signed 
certificate using the alias tomcat only. Will it not tell that tomcat alias 
already exists? .. And if the alias are different does it matter while 
importing the certificate?
   
  Waiting for your reply.
   
  Thanking you,
   
  Keyur


-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

Unavailabe to retrieve the list of portlets

2006-07-27 Thread keyur sheth
Hi Everybody,
   
  I wanted to make the tomcat container secure. So I 
converted the http to https by generating self signed certificate. There is an 
application running under the tomcat server called gridsphere. So in the 
gridsphere portal it was unable to show the list of portlets running which it 
was previously showing before making the tomcat container secure. The error you 
get on the Portal interface when u log in, Portlet Manager service portlet 
shows:-
   
 Unable to retrieve list of portlets. Make sure tomcat-users.xml 
has been edited according to the UserGuide
   
  I also went through the documentation of gridsphere and 
made some changes in tomcat-users.xml file as per that documentation. But still 
Portlet Manager Service does not show the list of portlets. The documentation 
is at http://www.gridsphere.org/gridsphere/docs/UsersGuide/UsersGuide.pdf. 
   
 Kindly suggest me the solution for that.
   
  Keyur


-
See the all-new, redesigned Yahoo.com.  Check it out.

SSL configured but not showing list of portlets inside portal

2006-06-14 Thread keyur sheth
Hi everybody,
   
  Well I configured the SSL in tomcat and now I am able to redirect 
the request from http to https. But doing that I found one problem. I am using 
a gridsphere portal which is an application deployed in tomcat. But configuring 
https I am not able to get the list of portlets inside the application.
   
   Can anyone please tell me what is the problem so that I can fix 
it up.
   
  Keyur

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Deploying application containing applet embedded

2006-06-11 Thread keyur sheth
Hi everybody,
   
 I am trying to deploy an application inside the tomcat webapps 
folder. But the problem is that when I put the necessary folder like .jar file 
in lib folder, class files in classes folder and restart the tomcat I don't see 
the application listed or deployed inside the tomcat. 
   
 Can anybody tell me what major changes should  I make so that 
it is possible to run applet and deploy the application successfully.
   
  Keyur
   
   

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Unable to retrieve the list of portlets on the Portal after implementing the SSL(https)

2006-06-05 Thread keyur sheth
The problem is that   Unable to retrieve list of portlets. Make sure 
tomcat-users.xml has been edited according to the UserGuide.
   
  I already implemented the SSL and made the tomcat container secure. So when I 
successfully implemented configuring SSL and started the portal I got the error 
on one of portlets saying above   Unable to retrieve list of portlets. Make 
sure tomcat-users.xml has been edited according to the UserGuide.
   
  Can anybody give me the possible solution for this error. I also changed the 
tomat-users.xml
   
  Keyur
 

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Unable to retrieve list of portlets. Make sure tomcat-users.xml has been edited according to the UserGuide.

2006-05-30 Thread keyur sheth
Hi everybody,
   
 I have successfully implemented the SSL and I am also able 
to redirect the URL from http to https. But doing that on my portal I am 
getting the error which is below mentioned:-
   
  Unable to retrieve list of portlets. Make sure tomcat-users.xml has been 
edited according to the UserGuide.
   
  So I was just thinking does the change that I made in the web.xml file of the 
application affect any other file. So can anybody give the feedback.
   
  Keyur Sheth


-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

converting tomcat container from http to https

2006-05-22 Thread keyur sheth
Hi everybody,
   
   Previously I had sent mail regarding this topic. The problem 
is after making necessary changes I am not able to start tomcat with https. 
Some message I sent previously is as follows:-

  First of all I created the keystore by reading the documentation and also 
made necessary changes to $CATALINA_HOME/conf/server.xml by uncommenting the 
SSL Connector HTTP tag and added new parameter keystorePass, keystoreFile for 
including the location of the file .keystore. And then restarted the tomcat. 
But when I give my URL https://coit-grid04.uncc.edu:8443/gridsphere  or  
https://coit-grid04.uncc.edu:8443/ it still doesn't open the page and gives the 
error as page cannot be displayed.
   
  I am also attaching the changes I made in server.xml file for non-SSL 
connector tag and SSL connector tag.
   
   NON-SSL
   
  Connector port=8080 maxHttpHeaderSize=8192
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   connectionTimeout=2 disableUploadTimeout=true 
emptySessionPath=true/

  SSL
   
  Connector port=8443 maxHttpHeaderSize=8192
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false disableUploadTimeout=true
   acceptCount=100 scheme=https secure=true
   clientAuth=false sslProtocol=TLS keystorePass=changeit
   keystoreType=PKCS12 keystoreFile=/home/tomcat/.keystore /

  And I am also attaching the log file created in the tomcat directory named 
catalina.out
   
  May 19, 2006 12:25:38 PM org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
at 
org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:137)
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:762)
at org.apache.catalina.startup.Catalina.load(Catalina.java:488)
at org.apache.catalina.startup.Catalina.load(Catalina.java:508)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)


-
Sneak preview the  all-new Yahoo.com. It's not radically different. Just 
radically better. 

Posting questions to the list

2006-05-19 Thread keyur sheth
  

-
Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.

Re: Posting questions to the list

2006-05-19 Thread keyur sheth
Hi everybody,
   
I am trying to convert the tomcat container from http to 
https. First of all I created the keystore by reading the documentation and 
also made necessary changes to $CATALINA_HOME/conf/server.xml by uncommenting 
the SSL Connector HTTP tag and added new parameter keystoreFile for including 
the location of the file .keystore. And then restarted the tomcat. But when I 
give my URL https://coit-grid04.uncc.edu:8080/gridsphere  or 
https://coit-grid04.uncc.edu:8080/ it still doesn't open the page and gives the 
error as page cannot be displayed. So can you tell me the reason why I am 
unable to do that.
   
  Thanking you 
  Keyur

keyur sheth [EMAIL PROTECTED] wrote:
  

-
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.


-
Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! 
Messenger with Voice.

Re: Posting questions to the list

2006-05-19 Thread keyur sheth
Thankyou for your reply, but the thing is that even if I give 
https://coit-grid04.uncc.edu:8443/gridsphere or 
https://coit-grid04.uncc.edu:8443
it doesn't work. And in the connector tag for non-SSL there is a parameter 
called redirectPort which is already 8443. So it should be redirected to port 
8443. So what else can be the problem. Is there anything else to setup.
   
  Keyur
   
  
 


-
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.

Re: Posting questions to the list

2006-05-19 Thread keyur sheth
Ok I will add the keystorePass tag in the SSL connector. But I don't know what 
should see in the log directory and which file specifically. Can you please let 
me know
   
  Keyur

Hassan Schroeder [EMAIL PROTECTED] wrote:
  On 5/19/06, keyur sheth wrote:
 So attached is the part of the server.xml file for non-SSL and SSL

 
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
 enableLookups=false disableUploadTimeout=true
 acceptCount=100 scheme=https secure=true
 clientAuth=false sslProtocol=TLS
 keystoreFile=/home/tomcat/.keystore /

? no keystorePass? or just using the default?

In any case, the critical information is: what do your logs say?

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.

Re: Posting questions to the list

2006-05-19 Thread keyur sheth
Well, unfortunately our network is down due to power outage so I cannot connect 
to the server remotely. I was just going to see the log file generated for 
today and it got disconnected. So will mail later regarding the error in the 
log file

Hassan Schroeder [EMAIL PROTECTED] wrote:  On 5/19/06, keyur sheth wrote:
 But I don't know what should see in the log directory and which file 
 specifically.

There shouldn't be that many to choose from, but in any case, the
one with errors in it :-)

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.