Hi there,
i need a little bit help.
I have a fine Working Pimatic with Apache Reverse with this Config:
Apache 2 (000-default.conf)
<VirtualHost *:80>
ServerName localhost
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://localhost:8080/ <-- Subsonic server
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
<VirtualHost *:80>
ServerName pimatic.MyDynDnsDOMAIN.net
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://localhost:1337/
ProxyPassReverse / http://localhost:1337/
</VirtualHost>
Pimatic:
“httpServer”: {
“enabled”: true,
“port”: 1337
},
Now i follow the Instructions of the pimatic documentation to get SSL
I create the Certificate and entered by the Question wich Domain “pimatic.MyDynDnsDOMAIN.net”
he created the Files and i modified my pimatic to:
“settings”: {
“httpServer”: {
“enabled”: true,
“port”: 1337
},
“httpsServer”: {
“enabled”: true,
“port”: 443,
“hostname”: “”,
“keyFile”: “ca/pimatic-ssl/private/privkey.pem”,
“certFile”: “ca/pimatic-ssl/public/cert.pem”,
“rootCertFile”: “ca/certs/cacert.crt”
},
Than i started my pimatic service. But now i cant connect in any way fails(localIP:1337 failed, pimatic.MyDynDnsDomain.net failed, https:\pimatic.MyDynDnsDomain.net failed - “ERR_SSL_PROTOCOL_ERROR”, localIP:443 -> Failed i get the standard Page from Apache2)
i changed the Port in my pimatic for ssl to 1338… same everything failed. Than i change the “default-ssl.conf” from the Apache to
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName pimatic.leetwerk.net
ServerNameAlias www.pimatic.leetwerk.net
SSLProxyEngine On
ProxyPreserveHost On
ProxyRequests off
ProxyPass / localhost:1338
ProxyPassReverse / localhost:1338
</VirtualHost>
</IfModule>
without success. Than i stop the Apache and set the Port in pimatic for SSL to default but nothing works.
As soon as a added the Code for SSL in the pimatic conf i cant get access to pimatic. in the pimatic-app folder is no error log.
I think it must be a mismatch in my Config but i cant found what i must do
Someone has a Idear?
PS: the SSL setup says i should be add following lines but were i should add this?
echo "Add these two to your config: "
echo "---------------------------------------------------------------"
echo "pimatic public certificate: ca/pimatic-ssl/public/cert.pem"
echo “pimatic private key: ca/pimatic-ssl/private/privkey.pem”