(Solved) Fritzbox, FHEM and PERL with SSL

Begonnen von HarryT, 24 April 2016, 14:21:36

Vorheriges Thema - Nächstes Thema

HarryT

Hi

Does anybody have an idea how to get the Perl SSL modules on the Fritzbox and get them working?

I know it is easier on a Rasberry Pi, but can't find any clue if it is possible on a Fritzbox. Is it necessary to cross-compile Perl or is it possible to copy the needed modules in fhem/lib/perl5 or something like that ?

{HT}




FHEM 6.4 auf Raspberry Pi3  (1,2 Ghz)
RFXTRX433XL, ZWave, KFL200 and ConBeeIII
Raspberry Pi1 (0,7 Ghz) and Raspberry Pi4 for testing
German reading skills are good.

rudolfkoenig

You supplied too few information for a meaningful help.
If my guess is right, this discussion may help you.

HarryT

Zitat von: rudolfkoenig am 24 April 2016, 18:27:42
You supplied too few information for a meaningful help.
If my guess is right, this discussion may help you.

Thanks for your reply. Unfortunately it seems not what I am looking for.

My issues started with the 59_Weather.pm update. See https://forum.fhem.de/index.php/topic,52203.0.html

I found out that the issue goes away when I use http instead of https in the 59_weather.pm module. In the second posting Johannes give me a hint how he solved the issue. http://mkleine.de/blog/2014/01/19/raspberry-pi-zugriff-auf-fhem-per-https-sichern/  However I have no idea how I can do something like this on a Fritzbox. 

After my patch of 59_weather.pm, things are running right now, but if my guess that I can't use a HTTPS connection with FHEM from my Fritzbox, then the end of FHEM on a Fritzbox seems to be closer as I expected.

{HT}


FHEM 6.4 auf Raspberry Pi3  (1,2 Ghz)
RFXTRX433XL, ZWave, KFL200 and ConBeeIII
Raspberry Pi1 (0,7 Ghz) and Raspberry Pi4 for testing
German reading skills are good.

rudolfkoenig

On a (more or less) current FRITZ!OS you get an SSL library, which is not compatible with the Perl-SSL Module compiled by AVM and available from fhem.de as part of the fhem-5.7-fb7390.image. In my previous text you'll find links to old libraries (containing bugs) compatible with the Perl modules. After placing them into the directories mentioned you should be able to use SSL from FHEM.

HarryT

Zitat von: rudolfkoenig am 24 April 2016, 19:36:52
On a (more or less) current FRITZ!OS you get an SSL library, which is not compatible with the Perl-SSL Module compiled by AVM and available from fhem.de as part of the fhem-5.7-fb7390.image. In my previous text you'll find links to old libraries (containing bugs) compatible with the Perl modules. After placing them into the directories mentioned you should be able to use SSL from FHEM.

Thanks for your answer rudolf.

I just got pulled the libs and placed them in the fhem directory. This works.

So the question is answered. 

{HT}
FHEM 6.4 auf Raspberry Pi3  (1,2 Ghz)
RFXTRX433XL, ZWave, KFL200 and ConBeeIII
Raspberry Pi1 (0,7 Ghz) and Raspberry Pi4 for testing
German reading skills are good.