talk about cert.pem in README, prompted by a mail from Bruno Flueckiger

This commit is contained in:
sthen 2018-06-01 17:45:19 +00:00
parent cc037a2a5f
commit 60aef579a6
3 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.72 2018/05/27 22:05:50 sthen Exp $
# $OpenBSD: Makefile,v 1.73 2018/06/01 17:45:19 sthen Exp $
BROKEN-alpha= pcre_jit_compile.c:65:2: error: #error Unsupported architecture
PV= 5.6
V= ${PV}.36
REVISION-main= 5
REVISION= 4
MASTER_SITES0= https://download.suhosin.org/

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.55 2018/05/27 22:05:50 sthen Exp $
# $OpenBSD: Makefile,v 1.56 2018/06/01 17:45:19 sthen Exp $
PV= 7.0
V= ${PV}.30
REVISION-main= 5
REVISION= 4
BUILD_DEPENDS+= devel/bison

View File

@ -1,4 +1,4 @@
$OpenBSD: README-main,v 1.4 2018/05/27 19:54:17 sthen Exp $
$OpenBSD: README-main,v 1.5 2018/06/01 17:45:19 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -114,3 +114,16 @@ you can use these shell commands:
After enabling or disabling extensions (or otherwise modifying php's
configuration), use rcctl(8) to restart php${SV}_fpm or Apache.
TLS Connections from PHP
========================
The chroot jail commonly used with PHP on OpenBSD restricts access to
files outside of /var/www. If using PHP software which makes an outgoing
TLS connection, you will need to copy in the relevant root certificates
in order that server certificates can be verified:
# mkdir -p ${CHROOT_DIR}/etc/ssl
# install -m 444 -o root -g bin /etc/ssl/cert.pem ${CHROOT_DIR}/etc/ssl/cert.pem
As this file is updated from time to time, you might like to add the
"install" line to /etc/rc.local.