Skip to content

Commit

Permalink
Fixed unreachable ca.crt file for WolkGatewayApp executable (#39)
Browse files Browse the repository at this point in the history
* Move ca.crt to /etc/wolkGateway

* Bumped version

* libpoco-dev for build-deps

* Bump version to 4.2.3
  • Loading branch information
Nenad Vuletić authored Nov 6, 2020
1 parent ca3be59 commit 6d87864
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} DESTINATION /usr
# Place the executable file in /usr/bin
install(TARGETS ${PROJECT_NAME}App DESTINATION /usr/bin)

# Place the ca.crt file in /usr/bin
install(FILES out/ca.crt DESTINATION /etc/wolkGateway
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_WRITE GROUP_READ WORLD_READ)

# Place the config files and service unit file.
install(FILES out/gatewayConfiguration.json DESTINATION /etc/wolkGateway
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_WRITE GROUP_READ WORLD_READ)
Expand Down
5 changes: 4 additions & 1 deletion RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

WolkGateway bridges communication between WolkAbout IoT platform and multiple devices connected to it.

**Version 4.2.3**
- [BUGFIX] - Fixed the integrated service file to point to the certificate file properly.

**Version 4.2.2**
- [BUGFIX] Use latest SDK with fixed topics for gateway data and file transfer.

Expand All @@ -29,4 +32,4 @@ WolkGateway bridges communication between WolkAbout IoT platform and multiple de

**Version 2.1.1**
- [BUGFIX] Removed erroneous compiler flags
- [IMPROVEMENT] Trust store is optinal for mqtt connectivity service
- [IMPROVEMENT] Trust store is optional for mqtt connectivity service
6 changes: 3 additions & 3 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
wolkgateway (4.2.1) stable; urgency=medium
wolkgateway (4.2.3) stable; urgency=medium

* Fixed the message sent to update the gateway on initialization.
* Fixed the integrated service file to point to the certificate file properly.

-- Wolkabout ELab <elab@wolkabout.com> Mod, 7 Sep 2020 16:30:00 +0100
-- Wolkabout ELab <elab@wolkabout.com> Fri, 06 Nov 2020 10:00:00 +0100
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Source: wolkgateway
Section: main
Priority: optional
Maintainer: Wolkabout ELab <elab@wolkabout.com>
Build-Depends: debhelper (>= 9)
Build-Depends: debhelper (>= 9), libpoco-dev
Standards-Version: 4.1.2

Package: wolkgateway
Architecture: any
Section: main
Depends: ${shlibs:Depends}, ${misc:Depends}, libssl1.0.0 | libssl1.1 | libpoco-dev
Depends: ${shlibs:Depends}, ${misc:Depends}, libssl1.0.0 | libssl1.1, libpoco-dev
Description: WolkGateway main connectivity module for connecting modules to Wolkabout IoT Platform.
2 changes: 1 addition & 1 deletion out/gatewayConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"platformMqttUri": "ssl://api-demo.wolkabout.com:8883",
"localMqttUri": "tcp://localhost:1883",

"platformTrustStore": "ca.crt",
"platformTrustStore": "/etc/wolkGateway/ca.crt",

"subdeviceManagement": "gateway"
}

0 comments on commit 6d87864

Please sign in to comment.