Console or Toolkit ?

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
teched1000Asked:
Who is Participating?
 
samriCommented:
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
 
samriCommented:
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
 
samriCommented:
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
 
teched1000Author Commented:
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
 
teched1000Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.