Selfsigned Certificate with SAN for sonarqube

We are using SonarQube enterprise edition and there is a requirement to create Selfsigned certificate with SAN(Subject Alternative name). Can someone please help me here with all the steps.