The simplest test method to test whether there is a vc environment is to execute cl under cmd before executing install.bat. Check the environment variables of VC6, path needs to include C: / Program Files / Microsoft Visual Studio / VC98 / bin, if not, add it manually. Install VC and ActivePerl, the order does not matter, pay attention to check the option to add environment variables during installation. It seems that as long as it is a C ++ compiler. gz ActivePerl version 5.8.8.822 5.8.8.822-MSWin352.msi Second, install: The compiler has always been on the VC6 machine, not specifically installed this time. Download: Openssl version 0.9.8i Address: http: //org / source / openssl-0.9.8i.tar. crt suffix) command: generate certificate keytool -genkey -keystore file name (including path) -keyalg rsa -alias alias -validity validity period view certificate keytool -list -v -keystore path export certificate to file keytool -export -alias alias- keystore certificate name -rfc -file file name (may include path) change password keytool -keypasswd -alias alias -keypass old password -new new password export certificate to new TrustStore key tool -import -alias Alias-file File name-keystore truststore Omit 3000 words here, to be filled ^ _ ^ Section II Installation I. keystore alias -import import signed digital certificate into keystore keytool -import -alias alias -keystore certificate name -file file name (can be added. v Display the certificate details in the keystore -export Export the certificate specified by the alias to the file keytool -export -alias Alias-file filename.crt -file parameter specifies the filename to be exported to the file -delete delete an entry in the keystore keytool -delete -alias alias -keystore sage -keypasswd modify the specified entry password in the keystore keytool -keypasswd -alias Alias -keypass. keystore file -keyalg specifies the algorithm of the key -validity specifies how many days the created certificate is valid -keysize specifies the key length -storepass specifies the keystore password -keypass specifies the alias entry password -dname specifies the certificate owner information for example: "CN = firstName, OU = org, O = bj, L = bj, ST = gd, C = cn" -list Display the certificate information in the keystore keytool -list -v -keystore alias -storepass. Name (The various types of information generated will not be in the. The JDK tool KEYTOOL -genkey creates a default file ".keystore" in the user's home directory, and also generates an alias of mykey, which contains the user's public key, private key, and certificate -alias generates an alias -keystore to specify the keystore. The U-shield used when connecting to online banking is used to store the client certificate required for two-way verification). The client only verifies the server's certificate, and the server does not verify the client's certificate. (We use one-way authentication when linking general SSL. The use of SSL for two-way authentication means that when the client connects to the server, both sides of the link must verify each other ’s digital certificates to ensure that they are authorized to connect. When installing openssl, it took half a day. As long as the JDK is installed, basically there will be (^ _ ^, unless you install too old!), I use 1.5. Article reference: 3 / 470539.aspx The first section of basic knowledge will be done recently For the application of SSL, I have learned two commands, one is keytool and the other is openssl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |