fpaillot opened a new issue #3305: SSL SSVM not working when configured to use 
a URL instead of a domain
URL: https://github.com/apache/cloudstack/issues/3305
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   SSVM
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   4.11.2
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   consoleproxy.url.domain      : myurl.mydomain.com
   consoleproxy.sslEnabled      : true
   secstorage.ssl.cert.domain : myurl.mydomain.com 
   secstorage.encrypt.copy : true
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   Based on : 
https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/, I tried to 
configure a shared URL for SSVM and CPVM.
   
   
   It works fine for CPVM but not for SSVM.
   
   When I try to upload a template from local computer, I see in the logs :
   ~~~
    DEBUG [o.a.c.s.e.DefaultEndPointSelector] (Upload-Monitor-1:ctx-3b853e8b) 
(logid:9f919e25) Coudn't find ssvm for 
urlhttps://A-B-C-Dmyurl.mydomain.com/upload/b2aa7a84-90dc-4a13-94ec-8c34970f16b8
   ~~~
   
   It seems that the URL builder does not take into the account the fact I'm 
not a using a wildcard domain (*.mydomain.com) but a full URL 
(myurl.mydomain.com).
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   
   *Configure SSL for CPVM and SSVM with a static URL in the options
   *Upload the matching certificate
   *Restart/recreae the SSVM and CPVM
   *Try to upload a template
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   The generated URL for the upload should be : 
https://myurl.mydomain.com/upload/
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   https://A-B-C-Dmyurl.mydomain.com/upload/
   
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to