I have the root certificate pem file from a Linux server. The application that needs to connect to that server is telling me it needs a publicCert pem file and a privateKey pem file to communicate with the server.
My understanding is the root cert I currently have can then generate "n" number of certificates as intermediates. Problem is that I'm struggling to get openssl to do what I want, so my question is how do I generate these exactly? My thought is that I would feed openssl the path to the root cert and then it would dump out the publicCert/privateKey I want.
The input of client connection I need to use requires these parameters:
connString: 'HostName=foo' protocol: MQTT publicKeyCertificateString: certificateString or path to certificate privateKeyString: keyString or path to key new DeviceClient(connString, protocol, publicKeyCertificateString, privateKeyString);
- I'm on OSX
- Cert format: pem
- Authentication: x509