ios - Not able to strip password from private key -


i following blog create mdm server link.

in 7th step stripping password private key running command

openssl rsa -in key.pem -out private.key 

but when run command on terminal getting error

unable load private key  routines:pem_read_bio:no start line:pem_lib.c:703:expecting: private key 

i working on mac. steps before worked fine. in previous step asked enter passphrase pressed enter without passphrase, reason error.

hope understand problem

thanks

i pressed enter without passphrase, reason error.

yes, correct — since didn't use passphrase there's nothing strip out in step.

unfortunately tutorial failed mention before arrived @ conclusion. passphrase shouldn't (normally) necessary anyway, important private key extracted earlier should need.


Comments