mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
make sure we can create default burp CA
This commit is contained in:
parent
23b17624f7
commit
7787f83c76
2 changed files with 8 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ hardlinked_archive = 0
|
|||
working_dir_recovery_method = delete
|
||||
umask = 0022
|
||||
syslog = 1
|
||||
stdout = 0
|
||||
stdout = 1
|
||||
# The following options can restrict what the client can do.
|
||||
# Restore clients can override all of these expect for force_backup.
|
||||
client_can_delete = 1
|
||||
|
|
@ -72,8 +72,8 @@ keep = 7
|
|||
# keep = 6
|
||||
|
||||
# Run as different user/group.
|
||||
# user = burp
|
||||
# group = backup
|
||||
user = burp
|
||||
group = burp
|
||||
|
||||
# CA options.
|
||||
# If you want your server to be a certificate authority and generate its own
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@ appStart () {
|
|||
pidfile=$(grep -E "^pidfile" /etc/burp/burp-server.conf | sed -r "s/^pidfile *= *(.*)$/\1/")
|
||||
[ -n "$pidfile" ] && touch $pidfile && chown burp: $pidfile
|
||||
|
||||
[ "$(ls /var/lib/burp | wc -l)" -eq 0 ] && {
|
||||
mkdir -p /var/lib/burp/ssl/client /var/lib/burp/ssl/server
|
||||
chown -R burp: /var/lib/burp
|
||||
}
|
||||
|
||||
# start supervisord
|
||||
/usr/bin/supervisord -c /etc/supervisord.conf
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue