我正在使用Mac,我创建了certificate.p12文件,并想要创建bks文件。但是,当我在命令提示符下键入以下内容时,我得到了显示的错误消息。
Ranas-MacBook-Pro:~ ranaaamersohail$ keytool –importkeystore –
srckeystore certificate.p12 –srcstoretype pkcs12 –destkeystore
client.bks –deststoretype bks –provider
org.bouncycastle.jce.provider.BouncyCastleProvider –providerpath
bcprov.jar
Illegal option: –importkeystore
Key and Certificate Management Tool
Commands:
-certreq Generates a certificate request
-changealias Changes an entry's alias
-delete Deletes an entry
-exportcert Exports certificate
-genkeypair Generates a key pair
-genseckey Generates a secret key
-gencert Generates certificate from a certificate request
-importcert Imports a certificate or a certificate chain
-importpass Imports a password
-importkeystore Imports one or all entries from another keystore
-keypasswd Changes the key password of an entry
-list Lists entries in a keystore
-printcert Prints the content of a certificate
-printcertreq Prints the content of a certificate request
-printcrl Prints the content of a CRL file
-storepasswd Changes the store password of a keystore
任何人都可以看到我在做什么吗?
我正在使用Mac。
非常感谢
Rana