mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Changes for live demo
This commit is contained in:
parent
02abaf57bd
commit
9da4f93ae5
3 changed files with 4 additions and 4 deletions
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
|
@ -16,6 +16,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
valid.vm.hostname = "valid-example-recipient.com"
|
||||
end
|
||||
config.vm.synced_folder "vagrant-shared", "/vagrant"
|
||||
config.vm.synced_folder "vagrant-shared/starttls-everywhere", "/vagrant/starttls-everywhere"
|
||||
config.vm.provision :shell, path: "vagrant-bootstrap.sh"
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"tls-policies": {
|
||||
"*.valid-example-recipient.com": {
|
||||
"min-tls-version": "TLSv1.1",
|
||||
"force-tls" : true
|
||||
},
|
||||
"*.mx.aol.com": {
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ if [ "`hostname`" = "sender" ]; then
|
|||
(while sleep 10; do
|
||||
echo -e 'Subject: hi\n\nhi' | sendmail vagrant@valid-example-recipient.com
|
||||
done) &
|
||||
ln -sf "/vagrant/postfix-config-sender-tls_policy.cf" /etc/postfix/tls_policy
|
||||
#ln -sf "/vagrant/postfix-config-sender-tls_policy.cf" /etc/postfix/tls_policy
|
||||
fi
|
||||
|
||||
ln -sf "/vagrant/postfix-config-`hostname`.cf" /etc/postfix/main.cf
|
||||
ln -sf "/vagrant/certificates" /etc/certificates
|
||||
#ln -sf "/vagrant/postfix-config-`hostname`.cf" /etc/postfix/main.cf
|
||||
#ln -sf "/vagrant/certificates" /etc/certificates
|
||||
postfix reload
|
||||
|
|
|
|||
Loading…
Reference in a new issue