Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Console or Toolkit ?

Posted on 2004-08-25
5
Medium Priority
?
287 Views
Last Modified: 2010-03-04
Hi there everybody,

I am using an Apache web server 1.3, which is attached to my oracle 8.1.7.4 database. On a windows 2000 server.

Now I am trying to download an Verisign SSL certificate but in order to download the trial version, I need to create a CSR.

Now I need a console or toolkit to do this on the apache server but I configured the apache server by editing the httpd.conf file and not using a console or toolkit.

Can someone point me in the right direction of downloading a console or tell me how to create a CSR without using a console?

Many thanks

Eddy
0
Comment
Question by:teched1000
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:samri
ID: 11894467
hi teched1000,

You may want to jump to Versign own page on how to get the stuff done : http://www.verisign.com/support/tlc/csr/ssleay/v01.html

You may also want to check Apache SSL FAQ at http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html

Some other links that are worth looking at:
http://www.verisign.com/support/tlc/csr/ssleay/v01.html
http://www.verisign.co.uk/support/csr/apache/v00.html

and bunch of other : http://www.google.com.my/search?hl=en&ie=UTF-8&q=%22CSR%22+apache+verisign&meta=

HTH.  Cheers.
0
 
LVL 15

Expert Comment

by:samri
ID: 11894559
sorry, missed a portion of your question - console or toolkit?  I personally would try to avoid console, or any gui, and prefer the old-style.  It makes you understand what goes inside the config file itself.  Easy to make mistake, but good way to learn.

If you prefer the GUI; Jump to Apache Support Webring at http://p.webring.com/hub?ring=apachesupport where there are a bunch of tools and gadjects for apache.  I personally have tried Commanche.  Very neat.  But still love the ol'text-based gui :)

cheers.
0
 

Author Comment

by:teched1000
ID: 11914601
Hi there Samri,

Thanks for all the info that you have given me. With it I have managed to create a key and csr file as well as receive a trial crt from Thawte.

However when I align the httpd.conf file to there locations (see below)

<VirtualHost 192.168.1.22:443>
DocumentRoot "E:\Oracle\Ora8i\Apache\Apache\htdocs"
ServerName test-server.domainname.com
ServerAdmin myemailaddress
ErrorLog logs/error_log
TransferLog logs/access_log
SSLEngine on
SSLCertificateFile \conf\ssl.crt\test-server.crt
SSLCertificateKeyFile conf\ssl.key\test-server.key
SSLCACertificateFile conf\ssl.crt\ca-bundle.crt
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

I then try to restart the apache service it then just seems to hang with a status of 'running'. When it does this I can neither start nor stop the service, I have to undo the changes I did in the httpd.conf and then restart the server.

Have to by any chance come across this problem before?

Also stupid question but how do you get the apache console up in command prompt?
0
 
LVL 15

Accepted Solution

by:
samri earned 750 total points
ID: 11916130
hi teched1000,

To be honest, I have not tried running any SSL site, at least no experience with on on Win2K machine.

When you mention "Restart the service"  how did you do that, from the DOS prompt "net stop apache" and "net start apache".   Or just plance "apache" on the command prompt?

It is best to configure apache to run as service on Win2k.

Some command line options that you could use.  Mine is Apache2, but try running "apache -h".  It should give similar startup option.

For your case, try running "apache -k  install".  The default Windows service name would be "Apache".  Try going to "services.msc" -- the service control panel applet, and restart the service there.


C:\Program Files\Apache Group\Apache2\bin>apache -h
Usage: apache [-D name] [-d directory] [-f file]
              [-C "directive"] [-c "directive"]
              [-w] [-k start|restart|stop|shutdown]
              [-k install|config|uninstall] [-n service_name]
              [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name           : define a name for use in <IfDefine name> directives
  -d directory      : specify an alternate initial ServerRoot
  -f file           : specify an alternate ServerConfigFile
  -C "directive"    : process directive before reading config files
  -c "directive"    : process directive after reading config files
  -n name           : set service name and use its ServerConfigFile
  -k start          : tell Apache to start
  -k restart        : tell running Apache to do a graceful restart
  -k stop|shutdown  : tell running Apache to shutdown
  -k install        : install an Apache service
  -k config         : change startup Options of an Apache service
  -k uninstall      : uninstall an Apache service
  -w                : hold open the console window on error
  -e level          : show startup errors of level (see LogLevel)
  -E file           : log startup errors to file
  -v                : show version number
  -V                : show compile settings
  -h                : list available command line options (this page)
  -l                : list compiled in modules
  -L                : list available configuration directives
  -t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
  -S                : a synonym for -t -D DUMP_VHOSTS
  -t                : run syntax check for config files

Apache console in command prompt?  I doubt.  (or perhaps I misinterpret your question.)  If you run apache from command line.  Just plain "apache.exe", you should see some information on the screen.  Apart from that, there is not much interesting thing to watch (IMHO), and if you close that DOS box, Apache will exit (die).

Hope this would help.
0
 

Author Comment

by:teched1000
ID: 11950250
Hi Rami,

I had already installed apache as a service and have been stopping and starting the service to stop and start apache.

The apache -h worked in command prompt.

I think I am going to re post this SLL config problem under a different  post as you have answer this question.

Many  thanks for all your help

Eddy
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question