diff --git a/CHANGES b/CHANGES
index 5f2c2d1400b56cd73feed4e1ae7f9841b950c22c..3f25a54df057843d1e17e6e60f02060b9921c4fc 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@
 
                                   Changelog
 
+Daniel Fandrich (20 Nov 2008)
+- Automatically detect OpenBSD's CA cert bundle.
+
 Daniel Stenberg (19 Nov 2008)
 - I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
   used. It has been used since forever but it was never a good idea to use
diff --git a/acinclude.m4 b/acinclude.m4
index bfe5b1890f70cdc66165819f7b92d8cc34ee3d6f..71cf5e21a60bedc972b67ab3ff7c2f838fd2ed77 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2541,6 +2541,7 @@ dnl /etc/ssl/certs/ca-certificates.crt Debian systems
 dnl /etc/pki/tls/certs/ca-bundle.crt Redhat and Mandriva
 dnl /usr/share/ssl/certs/ca-bundle.crt old(er) Redhat
 dnl /usr/local/share/certs/ca-root.crt FreeBSD
+dnl /etc/ssl/cert.pem OpenBSD
 dnl /etc/ssl/certs/ (ca path) SUSE
 
 AC_DEFUN([CURL_CHECK_CA_BUNDLE], [
@@ -2603,6 +2604,7 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
                /etc/pki/tls/certs/ca-bundle.crt \
                /usr/share/ssl/certs/ca-bundle.crt \
                /usr/local/share/certs/ca-root.crt \
+               /etc/ssl/cert.pem \
                "$cac"; do
         if test -f "$a"; then
           ca="$a"