• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. cimba007
    3. Best
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 10
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to enable a SSL certificate?

      This is how I updated the keystore.jks to run with letsencrypt!!

      • Register with any free dyndns provider (e.g. http://www.dnshome.de )
      • Enter the access data in your router

      The next step is a little bit tricky .. here is what I did

      • install apache2
      • enable port forwarding for port 80 in your router
      • https://tutorials-raspberrypi.de/raspberry-pi-ssl-zertifikat-kostenlos-mit-lets-encrypt-erstellen/

      The relevant certificate files are located here after running autocert:
      /etc/letsencrypt/live/YOURDOMAIN

      Then check this out (https://blog.codecentric.de/2013/01/selbstsignierte-zertifikate-aus-pem-dateien-in-java/)

      • openssl pkcs12 -export -out keystore.p12 -inkey privkey.pem -in cert.pem
      • keytool -importkeystore -destkeystore keystore.jks -srcstoretype PKCS12 -srckeystore keystore.p12
      • cp keystore.jks /home/pi/mycontroller/conf

      Edit mycontroller.properties:
      mcc.web.ssl.keystore.file=../conf/keystore.jks
      mcc.web.ssl.keystore.password=mycontroller
      mcc.web.ssl.keystore.type=JKS

      mycontroller must be replaced by the passwort you choose during certificate export with openssl

      You can now disable port forwarding for port 80 and enable port forwarding for port 8443 (be sure to choose a strong passwort)

      Result:
      0_1507657120186_470a10e6-5b49-4071-8679-ad784e0a14e8-image.png

      !!! Valid certificate in all major browsers (chrome in my example) !!!

      posted in Troubleshooting
      C
      cimba007
    • RE: Graphical widgets loading forever

      @stefaanv https://github.com/mycontroller-org/mycontroller/issues/236#issuecomment-238017945

      Have a look if your adblocker is interfering. Press F12 in your browser and look at the "console"-output.

      An example of adblocker interfering:

      0_1470481819199_upload-c774db81-e0d5-48d7-abc7-98a05c8d3a94

      This can be solved by whitelisting the mycontroller.org site.

      posted in General Discussion
      C
      cimba007
    • RE: abnormal heatrbeat frequency

      @Daniele Could you provide your sourcecode? in Response to every smartSleep the controller sends a heartbeat as response. (at least i think so)

      posted in Troubleshooting
      C
      cimba007