Skip to content

Commit 7c59459

Browse files
committed
d9e683e Added release notes for v1.2.3 in README
3bdb624 Adding --with-ca-bundle option while configuring curl. Without this, some installation might not refer to the default /etc/ss/cert.pem path.
1 parent 9ec6b65 commit 7c59459

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,27 @@ $ sudo reboot
304304
##### Raspberry PI seg fauls after some time running on `libx264.so`.
305305
Rebuilding the `libx264.so` library and **re-linking the demo application** fixes the issue.
306306

307+
##### Curl SSL issue - "unable to get local issuer certificate"
308+
If curl throws *"Peer certificate cannot be authenticated with given CA certificates: SSL certificate problem: unable to get local issuer certificate"* error while sending data to KVS, then the local `curl`
309+
was not built properly with `--with-ca-bundle` path. So please remove the curl binaries and libraries and rebuilt it again by following below steps.
310+
```
311+
rm <producer_sdk_path/kinesis-video-native-build/downloads/local/lib/libcurl*
312+
rm <producer_sdk_path/kinesis-video-native-build/downloads/local/bin/curl*
313+
cd <producer_sdk_path/kinesis-video-native-build/downloads/curl-7.57.0
314+
export DOWNLOADS=<producer_sdk_path>/kinesis-video-native-build/downloads
315+
make clean
316+
./configure --prefix=$DOWNLOADS/local/ --enable-dynamic --disable-rtsp --disable-ldap --without-zlib --with-ssl=$DOWNLOADS/local/ --with-ca-bundle=/etc/ssl/cert.pem
317+
make
318+
make install
319+
```
307320

308321
----
309322

310323

311324
## Release Notes
325+
#### Release 1.2.3 (1st March 2018)
326+
* Updated install-script to fix the local certificate trust issue for curl.
327+
* Added steps in README troubleshooting section for curl trust issues.
312328
#### Release 1.2.2 (March 2018)
313329
* Remove open-source dependencies from KinesisVideoProducerJNI native library. java-install-script can be used to build KinesisVideoProducerJNI native library fast.
314330
* README note improved.

kinesis-video-native-build/install-script

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ if [ ! -f $DOWNLOADS/local/lib/libcurl.a ]; then
114114
cd $DOWNLOADS
115115
tar -xvf curl-7.57.0.tar.xz
116116
cd $DOWNLOADS/curl-7.57.0
117-
./configure --prefix=$DOWNLOADS/local/ --enable-dynamic --disable-rtsp --disable-ldap --without-zlib --with-ssl=$DOWNLOADS/local/
117+
./configure --prefix=$DOWNLOADS/local/ --enable-dynamic --disable-rtsp --disable-ldap --without-zlib --with-ssl=$DOWNLOADS/local/ --with-ca-bundle=/etc/ssl/cert.pem
118118
make
119119
make install
120120
fi

0 commit comments

Comments
 (0)