Generating an API Client Certificate for the Flocker Plugin for Docker

The Flocker plugin for Docker requires access to the Flocker REST API. To use the plugin, you will need to create an API client certificate and key for a user named plugin on each node. For more information, see the Generating an API Client Certificate instructions.

  1. Generate an API client certificate for a user named plugin:

    flocker-ca create-api-certificate plugin
    
  2. Upload the plugin.key and plugin.crt file via a secure communication medium, such as SSH, SCP or SFTP, to the /etc/flocker/ folder on each node in your cluster. For example:

    scp ./plugin.crt root@172.16.255.251:/etc/flocker/plugin.crt
    scp ./plugin.key root@172.16.255.251:/etc/flocker/plugin.key