---
# System prepended metadata

title: Java key -K -k

---

# Java key -K -k
-K private key file -k public key file
![](https://i.imgur.com/rAIjUNa.png)

public key 檔案開頭和結尾為BEGIN CERTIFICATE及 END CERTIFICATE
![](https://i.imgur.com/RA9rqqX.png)

private key 檔案開頭和結尾為BEGIN PRIVATE KEY及 END PRIVATE KEY
![](https://i.imgur.com/iF8SbZd.png)

上次的錯:
https://www.gurux.fi/node/17593#comment-19641

public key:
![](https://i.imgur.com/UHdnPjA.png)
