Skip to content

Commit

Permalink
SSL cert file
Browse files Browse the repository at this point in the history
  • Loading branch information
triplus committed Oct 5, 2019
1 parent 474c705 commit 9db09e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion conda/linux_dev/AppDir/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ export PYTHONHOME=$HERE/usr
# export QT_XKB_CONFIG_ROOT=$HERE/usr/lib
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
export FONTCONFIG_PATH=/etc/fonts
export GIT_SSL_CAINFO=$HERE/usr/ssl/cacert.pem
# export QTWEBENGINEPROCESS_PATH=$HERE/usr/libexec/QtWebEngineProcess

# SSL
# https://forum.freecadweb.org/viewtopic.php?f=4&t=34873&start=20#p327416
export SSL_CERT_FILE=$PREFIX/ssl/cacert.pem
# https://github.com/FreeCAD/FreeCAD-AppImage/pull/20
export GIT_SSL_CAINFO=$HERE/usr/ssl/cacert.pem

${HERE}/usr/bin/FreeCAD "$@"
6 changes: 6 additions & 0 deletions conda/linux_stable/AppDir/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ export QT_QPA_PLATFORM_PLUGIN_PATH=$HERE/usr/plugins
export QT_XKB_CONFIG_ROOT=$HERE/usr/lib
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
export FONTCONFIG_PATH=/etc/fonts

# SSL
# https://forum.freecadweb.org/viewtopic.php?f=4&t=34873&start=20#p327416
export SSL_CERT_FILE=$PREFIX/ssl/cacert.pem
# https://github.com/FreeCAD/FreeCAD-AppImage/pull/20
export GIT_SSL_CAINFO=$HERE/usr/ssl/cacert.pem

${HERE}/usr/bin/FreeCAD "$@"

0 comments on commit 9db09e4

Please sign in to comment.