Keytool is utility to manage the key and the certificate being offered by Java.
Refer to "keytool" (http://docs.oracle.com/javase/8/docs/technotes/tools/windows/keytool.html) for details concerning keytool.
DataSpiderServer functions as HTTPS server, and can communicate with HTTPS by setting HTTPS with various components.
2 3 are not necessary for the self-signing certificate.)
|
keytool -genkeypair -alias <Alias name> -keyalg RSA -keystore $DATASPIDER_HOME\server\system\common\classes\.keystore
Input the password of the key store: changeit Input one's name. [Unknown]: hostname Input the organization unit name. [Unknown]: CS Input the systematic name. [Unknown]: companyname Input a city name or a regional name. [Unknown]: Bunkyo-ku Input state name or a local name. [Unknown]: Tokyo It corresponds to this unit Input the country number of two characters. [Unknown]: JP Is it good in CN=hostname, OU=CS, O=companyname, L=Bunkyo-ku, ST=Tokyo, and C=JP? [no]: yes Input the key password of < dataspider >. (When it is the same as the password of the key store Push RETURN) Push RETURN because it does as well as the password of the :* key store. |
| Item | Specified information | Notes |
|---|---|---|
| Common name(CN) | Specify the host name with the machine in which DataSpiderServer is installed. | It should agree to the domain name of URL specified by a browser according to CA with it. |
| Organization name(O) | Specify an arbitrary identification name like the section and the post name, etc. | There is a limitation in the character and the number of characters that can be used as specification according to CA by an English name etc. |
| Organization unit name(OU) | Specify the systematic name. | There is a limitation in the character and the number of characters that can be used according to CA. |
| City name or regional name(L) | Specify address information on the organization (municipal district town and village name). | There is a limitation in the character and the number of characters that can be used according to CA. |
| State name or local name(ST) | Specify address information on the organization (administrative divisions name). | There is a limitation in the character and the number of characters that can be used according to CA. |
| Country code(C) | Specify the country code of ISO regulations. | Japan is "JP".
Refer to "Online Browsing Platform (OBP)" (https://www.iso.org/obp/ui/#search) for the country code of ISO regulations. |
| keytool -genkeypair -alias <Alias name> -keyalg RSA -keystore $DATASPIDER_HOME\server\system\common\classes\.keystore -validity 180 |
This is not necessary for the self-signing certificate)
| keytool -certreq -keystore $DATASPIDER_HOME\server\system\common\classes\.keystore -alias <Alias name> -file <CSR flle name>.csr |
This is not necessary for the self-signing certificate)
The certificate of VeriSign might not have to be made a certificate that can be trusted and to do the import in the key store because the cacerts key store file of Java is shipped with five VeriSign route CA certificates contained. However, when the certificate with the signature is demanded from other CA, and the certificate that attests the public key of this CA has not been added to cacerts yet, the certificate from corresponding CA should be assumed to be "Certificate that can be trusted" and the import be done.
|
Import of certificate of CA:
keytool -importcert -keystore $DATASPIDER_HOME\jre\lib\security\cacerts -alias <Alias name> -trustcacerts -file <CERT file name> Import of server authentication book: keytool -importcert -keystore $DATASPIDER_HOME\server\system\common\classes\.keystore -alias <Alias name> -file <Certificate file signed by CA (or proof chain)> |
It is displayed in the lower right of the screen for Internet Explorer)