<div dir="ltr">Yes it come with auto-signed certificate, and it works well with that, but i have my own certificate and i would like to use it !<div>the docker/aerogear documentation (<a href="https://hub.docker.com/r/aerogear/unifiedpush-wildfly/" target="_blank">https://hub.docker.com/r/<wbr>aerogear/unifiedpush-wildfly/</a>)<wbr> say  : <div><br><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="box-sizing:inherit;font-weight:700;line-height:inherit">Note</span>: The image will run SSL by default with self signed certificates being automatically generated.<br>If you want to use your own certificate and key (authority certified certificates for example), proceed as follows <font size="1">:</font><ol style="box-sizing:inherit;list-style-position:outside;font-family:&quot;Helvetica Neue&quot;,Helvetica,Roboto,Arial,sans-serif;margin:0px 0px 1.25rem 1.4rem;padding:0px;line-height:1.6;color:rgb(85,85,85)"><li style="box-sizing:inherit;margin:0px;padding:0px"><font size="1">put your key and certificate respectively named <code style="box-sizing:inherit;font-family:Consolas,&quot;Liberation Mono&quot;,Courier,monospace;background-color:rgb(248,248,248);border-color:rgb(223,223,223);border-style:solid;border-width:0px;color:rgb(51,51,51);padding:0.125rem 0.3125rem 0.0625rem">privatekey.key</code> and <code style="box-sizing:inherit;font-family:Consolas,&quot;Liberation Mono&quot;,Courier,monospace;background-color:rgb(248,248,248);border-color:rgb(223,223,223);border-style:solid;border-width:0px;color:rgb(51,51,51);padding:0.125rem 0.3125rem 0.0625rem">certi<wbr>ficate.crt</code> in a dedicated directory.</font></li><li style="box-sizing:inherit;margin:0px;padding:0px"><font size="1">Launch the container as above but adding a volume option : <code style="box-sizing:inherit;font-family:Consolas,&quot;Liberation Mono&quot;,Courier,monospace;background-color:rgb(248,248,248);border-color:rgb(223,223,223);border-style:solid;border-width:0px;color:rgb(51,51,51);padding:0.125rem 0.3125rem 0.0625rem">-v &lt;path to the dir where you put key and cert&gt;:/keys</code></font></li></ol></blockquote><div><span style="color:rgb(85,85,85);font-family:&quot;Helvetica Neue&quot;,Helvetica,Roboto,Arial,sans-serif">The image will use your certificates instead of the self signed ones.</span></div><div><br></div><div>as i said, the -v does not work, is there a workaround to include its own cert ?</div><div> </div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-19 16:52 GMT+02:00 Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>hrm, isnt that all automatically using self signed certs?</div><div><br></div><div>We could look at Lets Encrypt. Interested? :-)</div><div><br><div class="gmail_quote"><span><div>On Mon, 19 Jun 2017 at 12:54, francoisb &lt;<a href="mailto:francois@billard.me" target="_blank">francois@billard.me</a>&gt; wrote:<br></div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div>thank you Matt,<div>but how do you specify certificat directory with docker-compose ?</div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div></span><div><div class="m_883170111012173424h5"><div class="gmail_extra"><div class="gmail_quote">2017-06-19 11:17 GMT+02:00 Matthias Wessendorf [via aerogear-users] <span>&lt;<a href="http:///user/SendEmail.jtp?type=node&amp;node=1128&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span>:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><span>

        <div>puh, this is weird.<div><br></div><div>I am actually not sure why you are facing that error. </div><div><br></div><div>would you mind trying one of these compose files, instead:</div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/tree/master/docker-compose" rel="nofollow" link="external" target="_blank">https://github.com/aerogear/ae<wbr>rogear-unifiedpush-server/tree<wbr>/master/docker-compose</a><br></div><div><br></div><div>that one uses a released version of the UPS, not the master branch (like the -dev does)</div><div><br></div><div>HTH,</div><div>Matthias</div><div><br></div></div></span></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="gmail_extra"><div class="gmail_quote"><div><div class="m_883170111012173424m_-3690283994681312598m_156627446599953989h5">On Mon, Jun 19, 2017 at 12:11 AM, francoisb <span>&lt;<a href="http:///user/SendEmail.jtp?type=node&amp;node=1127&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span> wrote:<br></div></div></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="m_883170111012173424m_-3690283994681312598m_156627446599953989h5">Hi,<br>
<br>
i am following the docker version at<br>
<a href="https://github.com/jboss-dockerfiles/aerogear/tree/master/wildfly/unifiedpush-wildfly-dev" rel="nofollow" link="external" target="_blank">https://github.com/jboss-docke<wbr>rfiles/aerogear/tree/master/<wbr>wildfly/unifiedpush-wildfly-<wbr>dev</a><br>
<br>
all is fine ! except when i add a directory that include my certificate and<br>
my private key, wildfly fail and exit(1), here is my command  with the<br>
result :<br>
<br>
# docker run --name ups --link unifiedpushDB:unifiedpush --link<br>
keycloakDB:keycloak -p 8443:8443 -it aerogear/unifiedpush-wildfly -v<br>
/opt/ssl:/keys<br>
Starting Liquibase migration<br>
Liquibase Update Successful<br>
*no /keys* directory found, will used default selfsigned certificate<br>
==============================<wbr>==============================<wbr>=============<br>
<br>
  JBoss Bootstrap Environment<br>
<br>
  JBOSS_HOME: /opt/jboss/wildfly<br>
<br>
  JAVA: /usr/lib/jvm/java/bin/java<br>
<br>
  JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M<br>
-XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=tru<wbr>e<br>
-Djboss.modules.system.pkgs=or<wbr>g.jboss.byteman -Djava.awt.headless=true<br>
<br>
==============================<wbr>==============================<wbr>=============<br>
<br>
21:19:30,937 INFO  [org.jboss.modules] (main) JBoss Modules version<br>
1.5.2.Final<br>
WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final)<br>
21:19:31,045 FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with<br>
exit code 1<br>
<br>
--<br>
In fact, whatever folders i specify, it fails ..<br>
any tips or workaround ?<br>
<br>
<br>
regards,<br>
Francois<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/Adding-certificate-folder-fails-tp1125.html" rel="nofollow" link="external" target="_blank">http://aerogear-users.1116366.<wbr>n5.nabble.com/Adding-certifica<wbr>te-folder-fails-tp1125.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
</div></div></blockquote></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><a href="http:///user/SendEmail.jtp?type=node&amp;node=1127&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>
</blockquote></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="gmail_extra"><span><br><br clear="all"><div><br></div>-- <br><div class="m_883170111012173424m_-3690283994681312598m_156627446599953989m_9054915780248932676gmail_signature" data-smartmail="gmail_signature"><div><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" rel="nofollow" link="external" target="_blank">http://matthiaswessendorf.word<wbr>press.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" rel="nofollow" link="external" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</span></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="gmail_extra"></div>
<br>______________________________<wbr>_________________
<br>Aerogear-users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&amp;node=1127&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://aerogear-users.1116366.n5.nabble.com/Adding-certificate-folder-fails-tp1125p1127.html" rel="nofollow" link="external" target="_blank">http://aerogear-users.1116366.<wbr>n5.nabble.com/Adding-certifica<wbr>te-folder-fails-tp1125p1127.<wbr>html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Adding certificate folder fails, <a rel="nofollow" link="external">click here</a>.<br>
                <a href="http://aerogear-users.1116366.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></blockquote></div><br></div>


        
        
        
<br></div></div><span><hr align="left" width="300">
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/Adding-certificate-folder-fails-tp1125p1128.html" target="_blank">Re: [Aerogear-users] Adding certificate folder fails</a><br></span><span>
Sent from the <a href="http://aerogear-users.1116366.n5.nabble.com/" target="_blank">aerogear-users mailing list archive</a> at Nabble.com.<br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
</span><a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><span class="m_883170111012173424HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div></div><span class="m_883170111012173424HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Sent from Gmail Mobile</div>
</font></span><br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div></div></div>