Link to home
Create AccountLog in
Avatar of stantechsvcs
stantechsvcs

asked on

2008 web server command line

Hi

Has something changed in the command line on 2008 server?  I am trying to create an ssl certificate for my off site backup program and having trouble.  I am not very good with command line anyway, so I am copying things like for like from a set of instructions as I have for the last 3 years when renewing the cert.

The problem seems to be with the " quoatation marks, telling the command line program to run run a keytool programme in another directory.  See below and thanks in advance for any help you can give me :-).

Merry Christmas to you all
Derek

C:\Program Files\Ahsay Offsite Backup Server\conf> “C:\Program Files\Ahsay Offsite Backup
Server\java\bin\”keytool -delete -alias tomcat -keystore keystore

From the above the keystore file is in the conf folder and the keytool is in the java/bin folder.  I have tried run as administrator but it didn`t help.  The erro message I get is the filename, directory name or label syntax is incorrect.
ASKER CERTIFIED SOLUTION
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of stantechsvcs
stantechsvcs

ASKER

Thanks for the reply.  I copy & pasted it from the software companies instructions into notepad and then again from there but no luck.  If i type it manually from my laptop I use the symbol on the number 2 key ( uk keyboard).

Any idea how i find standard quotes?
The closing quotation mark is in the wrong place ;) Should be after keytool.
Thanks Marek, but it isn`t that :-(
See chapter 14.1 in above attachment.
Even though I copied them from the ahsay instruction document it didn`t work, but I searched the internet and copy n pasted the left and right quote mark from a random example script.  It worked, even though they look identical.