.net - how to create a digital certificate by using SHA algoritham?Error: Can't access the key of the subject ('MySPC.pvk') -


i thought of create certificate using sha 256 , certify the website hosted in iis.first tried create certificate using following command.

makecert -pe -n "cn=my spc" -a sha256 -cy end ^          -sky signature ^          -ic myca.cer -iv myca.pvk ^          -sv myspc.pvk myspc.cer 

but getting error

more?          -sky signature ^ more?          -ic myca.cer -iv myca.pvk ^ more?          -sv myspc.pvk myspc.cer error: can't access key of subject ('myspc.pvk') failed 

i dont know why getting.next question having if evrything creates succefully find certificate myspc.cer ? next question how assign website hosted in iis? can body suggest me solution


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -