Hjälp med skapandet av digitalt certifikat
Jag har en uppgift som går ut på att skapa ett digitalt certifikat, och jag har stött på patrull. Det är nämligen så att jag inte ens vet hur man skall börja. Jag kan heller inte läsa mig till det, eftersom den beställda litteraturen är försenad.
Uppgiften lyder:
Download and install OpenSSL and keytool. OpenSSL is included in most Linux distributions. If you use
Windows you can nd it at [3]. Read about certicates in the course book and then do the following steps.
1. Create a X.509 CA certicate using OpenSSL. Make sure to save the private key of the CA in a file.
2. (Optional) Create a Certicate Signing Request (CSR) for a client certicate using OpenSSL.
3. (Optional) Sign the CSR using the CA certicate.
4. Use keytool to create a user keypair that is stored in a keystore. Use your STIL identity as the
commonName for the certicate. (If you are in a group of 2, just pick one STIL identity to use.)
5. Use keytool to create a CSR for the keys created in the previous step.
6. Use OpenSSL to sign the CSR with the CA created in the 1rst step.
7. Import the certicate chain into your keystore.
8. Use keytool to verify that a certicate chain has been established. Your keystore should contain TWO
entries, one CA certicate and one certicate chain consisting of the CA certicate and the signed
certicate. The command \keytool -list -v ..." is appropriate.
Jag tror att jag har gjort steg 1-3 färdigt. Nu är väl egentligen problemet att jag inte förstår vad jag skall göra nu i steg 4 och vidare. För mig känns det som att steg 4 och steg 5 är samma sak, men det är de kanske inte.
Tacksam för hjälp.