MQTT-CA root -> CA intermediate -> server generate certificate

Please note I need to generate a certificate chain to use for client authentication. If you can send me the steps to do so since I need to use them for MQTT Broker and clients.CA root → CA intermediate → server