mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Changes for live demo
This commit is contained in:
Vendored
+1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user