Excelence by Experience
[ start | index | login ]
start > dev > info > X509

X509

Created by maz. Last edited by maz, 2 years and 304 days ago. Viewed 468 times. #1
[edit] [rdf]
labels
attachments

X.509 Certficate und PKI

These are some inforations around public key infrastructur and X.509 certificates

Certificate and CSR with keytool

keytool -genkey 
-alias ${NAME} 
-keyalg RSA -keysize 1024 
-dname "CN=foo, OU=bar, O=foo AG, L=town, S=NRW, C=DE, 
EmailAddress=zertifikat@foo-ag.de" 
-validity 3650 
-keystore ${KEYSTORE} 
-storepass ${KEYSTORE_PASS}

Create a csr (certificate signing request):

keytool -certreq 
-alias ${NAME} 
-file ${NAME}.csr 
-keystore ${KEYSTORE} 
-storepass ${KEYSTORE_PASS}
no comments | post comment
amazers.net | © 2010 All rights reserved by Maz Rashid