473,624 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

17 New Member
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:\User s\User\)? where to look at in Tomcat documentation?
C:\Program Files\Apache Software Foundation\Apac he 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 2063
chaarmann
785 Recognized Expert Contributor
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
Leonidas Savvides
17 New Member
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 Recognized Expert Contributor
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="p ath/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
Leonidas Savvides
17 New Member
I search text of server.xml for word "keystore" but found nothing...well?
Aug 24 '10 #5
Leonidas Savvides
17 New Member
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
3325
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 get the correct HttpContext.Current.Request.UrlReferrer. but if I use https://localhost/try.htm (my server could use https), and click the link, then in default.aspx, the correct HttpContext.Current.Request.UrlReferrer is null. Is that by design...
1
1468
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 because I have a menu system which allows users to go to any page from any other page, I though that I should change all my redirects to the format Response.Redirect("https://localhost/myapp/page1.aspx") for https and...
3
1824
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 = urllib.urlopen('http://localhost/wps').read() But not with https. How can I pull data from a https url?
3
2838
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 shell scripts from the command line to start and stop the tomcat server..... i found out that php gives this incredible facility where i can execute normal bash commands...i tried doing so ..but a simple command like { system('whoami') } from
18
2695
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 reference. The Exe reads a key-value pair from the Exe.Config file, which is a link to the appropriate WebService that it should connect to, and sets the dynamic Web reference’s URL. If the Exe.Config file does not contain the key-value or if the...
2
1315
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 simple. -Ted
0
969
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 applied when running the app. In the designer I see the styles perfectly. does anybody have an idea what this could be ? thank you in advance
4
2222
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 site: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ as a refresher. Seems to make sense, and my jdk packages have long been installed. After starting Tomcat, it seemed to be running smoothly. But when I check to see if there is a local host...
2
2073
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 monitors attached in the system.one primary and other secondary. but when i call c++ application using java api through tomcat server, it lists only one primary monitor. i have some scenario for behavoiur of such application:
2
1067
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 please can some body help for such thing. Thanx a lot
0
8231
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8168
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8614
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8471
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6107
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4075
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4167
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2603
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1474
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.