Use pem if available
This commit is contained in:
parent
f80bb1f6cc
commit
95cf995808
|
@ -1,8 +1,8 @@
|
||||||
#+TITLE:
|
#+TITLE:
|
||||||
#+AUTHOR: Bob Mottram
|
#+AUTHOR: Bob Mottram
|
||||||
#+EMAIL: bob@freedombone.net
|
#+EMAIL: bob@freedombone.net
|
||||||
#+KEYWORDS: freedombox, debian, beaglebone, red matrix, email, web server, home server, internet, censorship, surveillance, social network, irc, jabber
|
#+KEYWORDS: freedombone, apps
|
||||||
#+DESCRIPTION: Turn the Beaglebone Black into a personal communications server
|
#+DESCRIPTION: List of apps available on freedombone
|
||||||
#+OPTIONS: ^:nil toc:nil
|
#+OPTIONS: ^:nil toc:nil
|
||||||
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
|
@ -365,6 +365,7 @@ function install_mailpile {
|
||||||
fi
|
fi
|
||||||
if [ -f /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem ]; then
|
if [ -f /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem ]; then
|
||||||
chown mailpile: /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem
|
chown mailpile: /etc/ssl/certs/${MAILPILE_DOMAIN_NAME}.pem
|
||||||
|
sed -i "s|.crt|.pem|g" /etc/nginx/sites-available/${MAILPILE_DOMAIN_NAME}
|
||||||
fi
|
fi
|
||||||
if [ -f /etc/ssl/private/${MAILPILE_DOMAIN_NAME}.key ]; then
|
if [ -f /etc/ssl/private/${MAILPILE_DOMAIN_NAME}.key ]; then
|
||||||
chown mailpile: /etc/ssl/private/${MAILPILE_DOMAIN_NAME}.key
|
chown mailpile: /etc/ssl/private/${MAILPILE_DOMAIN_NAME}.key
|
||||||
|
|
Loading…
Reference in New Issue