You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Alex Heneveld (JIRA)" <ji...@apache.org> on 2014/12/08 11:19:13 UTC
[jira] [Comment Edited] (BROOKLYN-95) support switching nginx from
SSL to non-SSL
[ https://issues.apache.org/jira/browse/BROOKLYN-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237724#comment-14237724 ]
Alex Heneveld edited comment on BROOKLYN-95 at 12/8/14 10:19 AM:
-----------------------------------------------------------------
With https://github.com/apache/incubator-brooklyn/pull/373 you can now reset config with the following:
{noformat}
curl -v -H "Content-Type: application/json" \
-d '{ "proxy.ssl.config": { "certificateDestination": "/tmp/server.crt", "keyDestination": "/tmp/server.key" }, "proxy.https.port": "8453+" }' \
http://localhost:8081/v1/applications/joiteg98/entities/tyFyCgzM/config
{noformat}
And then a restart, and it will switch to https. (If it has already detected port 8443, you'll have to clear the sensor for the port also.)
was (Author: alex.heneveld):
With https://github.com/apache/incubator-brooklyn/pull/373 you can now reset config with the following:
{{curl -v -H "Content-Type: application/json" \
-d '{ "proxy.ssl.config": { "certificateDestination": "/tmp/server.crt", "keyDestination": "/tmp/server.key" }, "proxy.https.port": "8453+" }' \
http://localhost:8081/v1/applications/joiteg98/entities/tyFyCgzM/config}}
And then a restart, and it will switch to https. (If it has already detected port 8443, you'll have to clear the sensor for the port also.)
> support switching nginx from SSL to non-SSL
> -------------------------------------------
>
> Key: BROOKLYN-95
> URL: https://issues.apache.org/jira/browse/BROOKLYN-95
> Project: Brooklyn
> Issue Type: New Feature
> Reporter: Alex Heneveld
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)