| Workitem | Description |
|---|
| Create Root-Certificate and Certification Authority |
|
| Create Publisher CA |
|
| Create Certificate for a concrete Webservice |
- Create WS certificate directory structure
|
--- trustedCerts
The root directory of this structure is later referenced as %WS_HOME%
- generated new certificate-request for my uddi-publisher-certificate
openssl req -new -keyout %WS_HOME%/ws_privkey.pem -out %WS_HOME%/ws_certreq.pem -days 365
- signing the certificate-request with my former created PUBLISHER (execute command in root dir of PUBLISHER-CA!)
openssl ca -in %WS_HOME%/ws_certreq.pem -out %WS_HOME%/ws_cert.pem -config publisherssl.cnf
- copied the certificate of my PUBLISHER-CA (%PUBLISHER_HOME%/publisherCA/publisher_cert.pem) to dir %WS_HOME%/trustedCerts and renamed it to e466422c.0 (hash of subject)
the hash of the certificate's subject can be calcultated as follows:
openssl x509 -hash -in %PUBLISHER_HOME%/publisherCA/publisher_cert.pem
- copied the already to its subject-hash renamed CA-certificate (%PUBLISHER_HOME%/trustedCerts/ae697688.0) to %WS_HOME%/trustedCerts
- Verification of the ws's certificate
openssl verify -CApath %WS_HOME%/trustedCerts %WS_HOME%/ws_cert.pem
says: %WS_HOME%/ws_cert.pem: OK
|