473,436 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,436 software developers and data experts.

I want to use https:// over LocalHost tomcat (vista) but failed, I used

I want to use https:// over LocalHost tomcat (vista) but failed, I used
keytool -genkey -alias tomcat -keyalg RSA -keystore C:/Users/User/.keystore -validity 365
Is it the correct folder tomcat looks by default(C:\Users\User\)? where to look at in Tomcat documentation?
C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\bin>
I use port: 443, I also tried 8443.
https://localhost/webhomecover8/welcome.jsp simple JSP
This implies that https://localhost/ will show tomcat manager? please note this appers "Internet Explorer cannot display the webpage"...in my screen for https://localhost/.

may move keystore file, or must recreated in the new folder?
Aug 24 '10 #1
5 2044
chaarmann
785 Expert 512MB
You should look on your server in your tomcat logs for the error message and list it here! That helps to determine the error. Your internet-explorer-output only says that it did not get back a response back from the server. That doesn't help to determine the error.
Maybe the key/port is correct, but something else is wrong? Like read/write permission or location of welcome.jsp? Or Https-configuration inside server.xml?
Without listing this info here nobody can analyse the error.
Aug 24 '10 #2
C:/Users/User/.keystore
this is default location tomcat would look in vista (for keystore file) or there is else ...?
Aug 24 '10 #3
chaarmann
785 Expert 512MB
By default, Tomcat expects the keystore file to be named .keystore in the user home directory. If this doesn't work, then either the directory given above is not your home directory, or there is another directory entry given in server.xml (see entry
keystoreFile="path/to/my/.keystore").

I don't have Vista. I have Ubuntu, Windows XP, Windows 2000 and Windows98 (I had so much problems with Vista that I avoid it like hell) and all I can say that my user directory is not located under "C:/Users/User"!
Aug 24 '10 #4
I search text of server.xml for word "keystore" but found nothing...well?
Aug 24 '10 #5
Solved, found:
I use:
Expand|Select|Wrap|Line Numbers
  1.    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"  
  2.     maxThreads="150" scheme="https" secure="true"  
  3.     clientAuth="false" sslProtocol="TLS"  
  4.     keystoreFile="C:/Users/.keystore"  
  5.     keystorePass="changeit"/>  
also:
Expand|Select|Wrap|Line Numbers
  1. keystoreFile="C:/User/User/.keystore"  
this must be
Expand|Select|Wrap|Line Numbers
  1. keystoreFile="C:/Users/User/.keystore" 
and also: upon creation of cert password start/end must match....
Aug 24 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jiong Feng | last post by:
Hi, Here is my problem: I created a try.htm on my server, which contains a link to the default.aspx page. if I use http://localhost/try.htm, and click the link, then in default.aspx, I could...
1
by: mike parr | last post by:
I have been using Response.Redirect("page1.aspx") and Response.Redirect("page2.aspx") to go between pages in the same folder. However, I need to apply https to 1 page within this folder and...
3
by: Harlin Seritt | last post by:
I am trying to pull data from a web page at https://localhost/wps. While this would work if the url was http://localhost/wps, it doesn't work with 'https.' I can do this: import urllib data...
3
by: danish | last post by:
hi everyone..sorry everyone if ive posted on the wrong group but i really needed help.... i wan tto start jakarta-tomcat-5.5.3 from the webbrowser using the sheel scripts...i normally use the...
18
by: =?Utf-8?B?Tm9ybUQ=?= | last post by:
I have created a three tier application consisting of Client (Exe and Exe.Config), Middle (WebServices) and Database tiers. The Client tier contains an Exe, an Exe.Config and a dynamic Web...
2
by: tedpottel | last post by:
Hi, I am trying to write my own stat program. I would like to be able to store in a database what keywords where used to arrive at my website. How can I get that informtion? I imagin it is really...
0
by: =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?= | last post by:
I'm not sure it has to do with asp.net, but since I moved to Vista in every web site (even the smallest one with only one default.aspx) created on localhost I have the same problems: styles are not...
4
by: JNeko | last post by:
Hello all! I am starting to do a little reviewing of my JSP, but first I would like to get my servlet container working! Now, it's been a while sinced I configured and used Tomcat, so I used this...
2
by: gamiravi.d | last post by:
Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two...
2
Ali Rizwan
by: Ali Rizwan | last post by:
Hello all, I need some help from the users of Vista. In your vista directory like in C:\windows search for *.ocx and send me the ocx file you have found in search results. I want them badly...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.