Vous êtes sur la page 1sur 5

Microsoft Windows XP [Versin 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrador>cd.. C:\Documents and Settings>cd..

C:\>cd wamp C:\wamp>cd bin\apache\apache2.2.8\bin C:\wamp\bin\apache\apache2.2.8\bin>openssl genrsa -des3 -out server.key 1024 Loading 'screen' into random state - done Generating RSA private key, 1024 bit long modulus ........++++++ ............++++++ e is 65537 (0x10001) Enter pass phrase for server.key: Verifying - Enter pass phrase for server.key: Verify failure User interface error 556:error:0906906F:PEM routines:PEM_ASN1_write_bio:read key:.\crypto\pem\pem_lib .c:334: C:\wamp\bin\apache\apache2.2.8\bin>openssl genrsa -des3 -out server.key 1024 Loading 'screen' into random state - done Generating RSA private key, 1024 bit long modulus .......++++++ ................++++++ e is 65537 (0x10001) Enter pass phrase for server.key: Verifying - Enter pass phrase for server.key: C:\wamp\bin\apache\apache2.2.8\bin>copy server.key server.key.org 1 archivos copiados. C:\wamp\bin\apache\apache2.2.8\bin>openssl rsa -in server.key.org -out server.ke y Enter pass phrase for server.key.org: writing RSA key C:\wamp\bin\apache\apache2.2.8\bin>openssl req -new -x509 -nodes -sha1 -days 365 -key server.key -out server.crt -config C:\wamp\bin\apache\apache2.2.8\conf\ope nssl.cnf You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----Country Name (2 letter code) [AU]:bo State or Province Name (full name) [Some-State]:st Locality Name (eg, city) []:ca Organization Name (eg, company) [Internet Widgits Pty Ltd]:uagrm Organizational Unit Name (eg, section) []:fich Common Name (eg, YOUR name) []:vichito Email Address []:vichito_xxx@hotmail.com

C:\wamp\bin\apache\apache2.2.8\bin>httdp -t "httdp" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. C:\wamp\bin\apache\apache2.2.8\bin>httdp-t "httdp-t" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. C:\wamp\bin\apache\apache2.2.8\bin>httdp -t "httdp" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. C:\wamp\bin\apache\apache2.2.8\bin>httpd -t Usage: httpd [-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 -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files C:\wamp\bin\apache\apache2.2.8\bin>httdp -t "httdp" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. C:\wamp\bin\apache\apache2.2.8\bin>httpd -t Usage: httpd [-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 -c -n -k -k -k -k -k -k -w -e -E -v -V -h -l -L -t -S -t -M -t

"directive" "directive" name start restart stop|shutdown install config uninstall

: : : : : : : : : : level : file : : : : : : -D DUMP_VHOSTS : : -D DUMP_MODULES : : :

process directive before reading config files process directive after reading config files set service name and use its ServerConfigFile tell Apache to start tell running Apache to do a graceful restart tell running Apache to shutdown install an Apache service change startup Options of an Apache service uninstall an Apache service hold open the console window on error show startup errors of level (see LogLevel) log startup errors to file show version number show compile settings list available command line options (this page) list compiled in modules list available configuration directives show parsed settings (currently only vhost settings) a synonym for -t -D DUMP_VHOSTS show all loaded modules a synonym for -t -D DUMP_MODULES run syntax check for config files

C:\wamp\bin\apache\apache2.2.8\bin>-t "-t" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. C:\wamp\bin\apache\apache2.2.8\bin>-d "-d" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. C:\wamp\bin\apache\apache2.2.8\bin>httpd -d Usage: httpd [-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 -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files C:\wamp\bin\apache\apache2.2.8\bin>httpd -t Usage: httpd [-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 -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files C:\wamp\bin\apache\apache2.2.8\bin>httpd -t Usage: httpd [-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 -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files C:\wamp\bin\apache\apache2.2.8\bin>

Vous aimerez peut-être aussi