Hi  Vishnu,

Here are (probably) the same steps that I did to make my vm SSL working.
For this example I will use public range of  50.50.50.0 to 50.50.50.5

1. execute the following commands to enable ssl on the cloudstack server
using cloudmonkey

cmk update configuration name=consoleproxy.url.domain value='*.
ssvm.domain.org'

cmk update configuration name=consoleproxy.sslEnabled value=true

             cmk update configuration name=secstorage.ssl.cert.domain
value='*.ssvm.domain.org'
             cmk update configuration name=secstorage.encrypt.copy
value=true

          2. Restart the management server

            3. Ask Domain admins to register the following records in DNS

50.50.50.1 50.50.50.1.ssvm.domain.org

50.50.50.2 50.50.50.2.ssvm.domain.org
50.50.50.3 50.50.50.3.ssvm.domain.org
50.50.50.4 50.50.50.4.ssvm.domain.org
50.50.50.5 50.50.50.5.ssvm.domain.org

4. Ask Domain admins to provide wildcard certificate for

*.ssvm.domain.org
          5. Upload the combined root and intermediate certificates (from
step 4)
             Immediately after upload the SVMs will restart automatically.

         6. TEST! Open the URL that responds to the current SSVM and check
the certificate present. If the certificate has not yet been updated,
reboot the cloudstack server and the SSVMs once more. If the
certificate has changed but is still reported as unsecure - pay attention
to details, root/intermediate/wildcard pairs may have been uploaded in the
wrong order.

Best regards,
Jordan


On Thu, Jun 20, 2024 at 8:51 PM weizhouapache (via GitHub) <g...@apache.org>
wrote:

>
> GitHub user weizhouapache added a comment to the discussion: Unable to
> Secure CloudStack System VMs with Dynamic URL
>
> > @weizhouapache Ports 443 and 8443 are listening in CPVM...and IP are
> reachable ![image](
> https://private-user-images.githubusercontent.com/54799446/324764500-70144f4d-2818-42d5-b297-d767d79f56bc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM4NjM3MzgsIm5iZiI6MTcxMzg2MzQzOCwicGF0aCI6Ii81NDc5OTQ0Ni8zMjQ3NjQ1MDAtNzAxNDRmNGQtMjgxOC00MmQ1LWIyOTctZDc2N2Q3OWY1NmJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDIzVDA5MTAzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhODY4MTk5MTM4MzNmMDU0MWRkNmEwN2IwYmM0Y2FlYjViYTg4ZWQ1ZGQ1Mjk4YTVmN2I0N2ZkMjg3ODA1NzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.P2cfhADI-NUpCAN60iLCnS-dtWTsoYiIRYNYfO6p8-o
> )
>
> any error/exception in /var/log/cloud.log in CPVM ?
>
>
> GitHub link:
> https://github.com/apache/cloudstack/discussions/9278#discussioncomment-9831869
>
> ----
> This is an automatically sent email for users@cloudstack.apache.org.
> To unsubscribe, please send an email to:
> users-unsubscr...@cloudstack.apache.org
>
>

Reply via email to