Solved

Console or Toolkit ?

Posted on 2004-08-25
5
272 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 250 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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