Comments (4)
i got the same problem
[root@VM_16_15_centos linzq]# ./keytool-importkeypair -k demo.jks -p 123456 -pk8 platform.pk8 -cert platform.x509.pem -alias demo
Error decrypting key
140544181491616:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1199:
140544181491616:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=PKCS8_PRIV_KEY_INFO
unable to load private key
139677144197024:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: ANY PRIVATE KEY
Importing "rejia_door" with unable to load certificate
140634201495456:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
keytool error: java.lang.Exception: Source keystore file exists, but is empty: /tmp/keytool-importkeypair.tZt7/p12
[root@VM_16_15_centos tmp]# pwd
/tmp
[root@VM_16_15_centos tmp]# ll
total 16
drwxr-xr-x 2 root root 4096 Jun 18 10:50 hsperfdata_root
drwx------ 2 root root 4096 Jun 18 10:22 ssh-3BtUsMVWPg
drwx------ 2 root root 4096 Jun 18 10:49 ssh-DbvcF2cVao
drwx------ 3 root root 4096 Jul 6 2018 systemd-private-1b11ce59a39e4260a53ff49aa11c35cd-ntpd.service-He16JV
[root@VM_16_15_centos tmp]#
from keytool-importkeypair.
Any updates on this ?
from keytool-importkeypair.
Fixed: change the platform.pk8 and platform.x509.pem will ok.
And: the -k option is specificing a file which will be generate,not specificing a existing file.
from keytool-importkeypair.
Fixed: change the platform.pk8 and platform.x509.pem will ok. And: the -k option is specificing a file which will be generate,not specificing a existing file.
能不能详细说下怎么解决的呢
from keytool-importkeypair.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keytool-importkeypair.