adding certificate in ios via java SSH client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 07:49 AM
Hi Greetings!
We have an use-case to upload Server Certificate + private key + intermediate certificate into IOS.
We tried with pem option with the command crypto pki import <trustpoint name> pem exportable terminal password <password> creating a CLI session to device and it works.
But we face issues when we try to integrate in java. We use SSHJ client and we write the same cert+key+intercert content into the output-stream and it fails with the error
Unable to decode key.
% PEM files import failed.
We built the content this way -> intermediate cert content + \n + quit + \n + encrypted pvt key + \n + quit + \n + server cert content + \n + quit
Request your help on this
- Labels:
-
VPN
