www.homeseer.com    
 

Go Back   HomeSeer Message Board > Weather Plug-ins > Weather Discussion

Reply
 
Thread Tools Display Modes
  #81  
Old December 16th, 2017, 09:59 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
Ok thanks Chris - I will investigate and post a question to the board here.

I was hoping the fix could be simpler such as embedding that no-check-certificate parameter into the call within the plugin.

But I will start hunting around to see what I can find and if/how installing the certs on this box can be done.

Thanks for that direction
__________________
-steve


HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.368
Linux version: Linux HomeTrollerZeeS2 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux System Uptime: 1 Day 15 Hours 31 Minutes 5 Seconds
Number of Devices: 329
Number of Events: 180
Available Threads: 399
Enabled Plug-Ins
3.0.0.5: CM15A
3.0.0.42: EasyTrigger
3.0.0.17: EnvCan
3.0.1.130: Z-Wave
Reply With Quote
  #82  
Old December 18th, 2017, 06:36 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
The plugin doesnt use WGET and the quick investigation I did suggested ignoring the cert check was troublesome.

Adding the CA certs is the way to go.
Reply With Quote
  #83  
Old December 19th, 2017, 10:36 AM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
HI Chris, thanks for that info. Makes sense.

I have already obtained both of the certs from Entrust via
https://www.entrustdatacard.com/page...cates-download

But scanning the Zee, it seems there are existing certs in more than one place so I don't know where to put these.

I had already posted a request in the HS3 forum asking if anyone knows where/how to install the certs in the Zee.
https://forums.homeseer.com/showthread.php?t=192757

And just hoping that someone can reply with some directions.

I feel that I'm REALLY close to fixing this!
Reply With Quote
  #84  
Old December 19th, 2017, 12:42 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
Maybe try this: https://askubuntu.com/questions/7328...ot-certificate

Looks like the Zee is a Raspberry Pi which is Debian based. Ubuntu is also Debian based.

If this doesn't work try Googleing "Raspberry Pi install root CA cert".
Reply With Quote
  #85  
Old December 19th, 2017, 03:04 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
I seem to be having permission problems.

I found the folder.
Logged in via WinSCP
Tried creating the folder via WinSCP but it refused with an Error Code 3.
Then I tried creating the folder using the HomeSeer Linux command line window using

sudo mkdir /usr/share/ca-certificates/entrust

And that worked. I could now see that folder via WinSCP.

However, when I tried dragging the files over from my Windows folder to that folder, I received the Error Code 3 again. (screen cap attached)

So I'm stuck trying to copy the certs into the Zee folder - seemingly on a permissions issue.

I have filed a ticket with HomeSeer as well. Hopefully they can help shorten this resolution path.
Attached Images
 
Reply With Quote
  #86  
Old December 19th, 2017, 05:06 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
I seem to have hit the wall here.

HomeSeer technical support said that they do not provide root access to users (re: the permissions issue) nor support for third party plugins and suggested that the developer update the plugin to include the necessary files.
Reply With Quote
  #87  
Old December 20th, 2017, 08:23 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
Not sure how me supplying the certs will help... They need to go the correct place and be registered and my plugin won't have access to the OS to do this.

It's a bit odd the root CAs are not already installed. They are on most OS by default. It's rare to have to install them.

Maybe HST could add them in a future build.

Not providing root access is also a bit rough.
Reply With Quote
  #88  
Old January 2nd, 2018, 10:20 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
If you can run sudo from the UI, you could setup an SCP server and copy the certs over using sudo scp ...

https://www.solarwinds.com/free-tools/free-sftp-server

This method makes the Zee the client and not the server and sudo will allow you to copy the files over as a client.
Reply With Quote
  #89  
Old January 3rd, 2018, 09:54 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
Happy New Year and Thanks Chris but that's over my head (non-Linux person here).
I installed the SCP server on my Windows machine and set the root folder to be the one holding the certs.
But as far as commands from the Zee command line with Sudo etc, you lost me.
I suspect I would need to (from the Zee command line) log into the winSCP server and then copy the files over. But it's all Greek at that point.
Reply With Quote
  #90  
Old January 4th, 2018, 07:15 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
First make sure the server is working by using WINSCP.

Then from the Zee UI enter sudo scp...

https://www.garron.me/en/articles/scp.html

Get the syntax from that link.

Adding sudo will allow the scp command to put the certs in the root protected folder.
Reply With Quote
  #91  
Old January 5th, 2018, 02:16 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
Ok, I launched the SCP server - screen cap attached.

Then I connected to it via SFTP at 127.0.0.1/22 to ensure I could see the certs via FTP. - screen cap attached - files visible in designated root.

Then I ran, in the Zee Linux command line
sudo scp /entrust_l1k.cer /usr/share/ca-certificates

which, from my limited understanding, should be copying file entrust_l1k.cer into the target folder /usr/share/ca-certificates (only guessing that that's the correct target since there are others there)

But from the attached Zee screen shot, there's no results/response so I don't know what happened, other than from SFTP into Zee, could see that no such file was added.

Also tried
sudo scp -v 192.168.15.52:/entrust_l1k.cer /usr/share/ca-certificates

using the IP of my laptop as source/WinSCP server machine but still nothing appears to have happened.
Attached Images
   

Last edited by Otto-mation; January 5th, 2018 at 02:32 PM. Reason: added one more syntax variation attempt
Reply With Quote
  #92  
Old January 6th, 2018, 01:48 AM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
If there's no feedback, not sure how to help further.
Reply With Quote
  #93  
Old January 7th, 2018, 03:44 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
I had posted a Linux help request in another forum to try to catch some interest.
https://forums.homeseer.com/showthre...=1#post1343232

But it doesn't look like I'm going anywhere.
However, I at least got the certs copied over to the Zee into the open /tmp folder.
But can't copy them to /usr/share/ca-certificates/
(and even then, I'm only assuming/guessing that that is the right folder).
Reply With Quote
  #94  
Old January 7th, 2018, 08:38 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
HST sent me these commands:

mozroots --import --ask-remove
mozroots --import --ask-remove --machine
certmgr -ssl smtps://smtp.gmail.com:465

Can you try running them from the UI? You may need to prefix with sudo
Reply With Quote
  #95  
Old January 7th, 2018, 10:23 PM
Otto-mation Otto-mation is offline
Seer Plus
 
Join Date: Sep 2015
Location: GTA (Greater Toronto)
Posts: 100
Thumbs up

Jesus-frickin'-murphy, Chris, it appears to be working!!!!!!!
I'm going to go to bed tonight while hyper-ventillating with excitement to have your plugin back!
HOLY COW!!!!!
If I could moon-walk, I would!
Much thanks!!!!

Pickering:
Observed at: Oshawa Executive Airport 9:00 PM EST Sunday 07 January 2018
Condition: Light Snow
Temperature: -4.1°C
Pressure: 101.8 kPa
Visibility: 16.1 km
Humidity: 55 %
Wind Chill: -11
Dewpoint: -11.8°C
Wind: WSW 24 km/h gust 43 km/h
Air Quality Health Index: N/A

Tatamagouche
Observed at: Debert 9:00 PM AST Sunday 07 January 2018
Temperature: -13.9°C
Pressure / Tendency: 102.3 kPa rising
Humidity: 55 %
Wind Chill: -23
Dewpoint: -21.0°C
Wind: W 23 km/h gust 33 km/h
Air Quality Health Index: N/A


Moncton
Observed at: Greater Moncton Roméo LeBlanc Int'l Airport 10:00 PM AST Sunday 07 January 2018
Condition: Light Snow
Temperature: -15.8°C
Pressure / Tendency: 102.3 kPa rising
Visibility: 24.1 km
Humidity: 59 %
Wind Chill: -27
Dewpoint: -22.2°C
Wind: SW 29 km/h
Air Quality Health Index: 2
Reply With Quote
  #96  
Old January 8th, 2018, 03:51 PM
chrisgo chrisgo is offline
Seer Deluxe
 
Join Date: Apr 2010
Location: Canada
Posts: 195
Woohoo!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment Canada Weather/Weather Warnings Wadenut Script & Plug-In Library Discussion 300 November 8th, 2017 11:22 AM
[VB.NET] CANADIANS: Environment Canada Weather/Weather Warnings Wadenut Script & Plug-In Library 0 November 19th, 2011 02:13 PM
Using VR in noisy environment sportera HomeSeer General Discussion Area 4 February 17th, 2005 01:37 PM
Free .NET Development Environment Kirby Plug-In Development 3 November 9th, 2004 08:42 PM
[ASP][Audrey] Canada Weather Console CyberA Script & Plug-In Library 0 February 28th, 2002 10:10 AM


All times are GMT -4. The time now is 07:46 AM.


Copyright HomeSeer Technologies, LLC