This commit is contained in:
@@ -1,3 +1,28 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: exim-forwarder-cert
|
||||||
|
spec:
|
||||||
|
secretName: exim-forwarder-cert
|
||||||
|
duration: 2160h
|
||||||
|
renewBefore: 360h
|
||||||
|
subject:
|
||||||
|
organizations:
|
||||||
|
- hottis-de
|
||||||
|
isCA: false
|
||||||
|
privateKey:
|
||||||
|
algorithm: RSA
|
||||||
|
encoding: PKCS1
|
||||||
|
size: 2048
|
||||||
|
usages:
|
||||||
|
- server auth
|
||||||
|
dnsNames:
|
||||||
|
- mx.mainscnt.eu
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-staging-http
|
||||||
|
kind: ClusterIssuer
|
||||||
|
group: cert-manager.io
|
||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
@@ -35,6 +60,9 @@ spec:
|
|||||||
- name: exim-config
|
- name: exim-config
|
||||||
mountPath: /etc/exim/db
|
mountPath: /etc/exim/db
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: tls-cert
|
||||||
|
mountPath: /etc/exim/db
|
||||||
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: exim-config
|
- name: exim-config
|
||||||
configMap:
|
configMap:
|
||||||
@@ -44,6 +72,14 @@ spec:
|
|||||||
path: forward_domains
|
path: forward_domains
|
||||||
- key: addresses
|
- key: addresses
|
||||||
path: forward_addresses
|
path: forward_addresses
|
||||||
|
- name: tls-cert
|
||||||
|
secret:
|
||||||
|
secretName: exim-forwarder-cert
|
||||||
|
items:
|
||||||
|
- key: tls.crt
|
||||||
|
path: server.crt
|
||||||
|
- key: tls.key
|
||||||
|
path: server.key
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
domainlist forward_domains = lsearch;/etc/exim/db/forward_domains
|
domainlist forward_domains = lsearch;/etc/exim/db/forward_domains
|
||||||
|
|
||||||
tls_advertise_hosts = *
|
tls_advertise_hosts = *
|
||||||
|
tls_certificate = /etc/exim/db/server.crt
|
||||||
|
tls_privatekey = /etc/exim/db/server.key
|
||||||
|
|
||||||
|
|
||||||
# acl_smtp_connect = acl_connect
|
# acl_smtp_connect = acl_connect
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
wn@mainscnt.eu: wolfgang.hottgenroth@icloud.com
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
mainscnt.eu
|
|
||||||
|
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: wiki-mainscnt-eu
|
name: mx-hottis-de
|
||||||
namespace: homea
|
|
||||||
spec:
|
spec:
|
||||||
secretName: wiki-mainscnt-eu-cert
|
secretName: mx-hottis-de-cert
|
||||||
duration: 2160h
|
duration: 2160h
|
||||||
renewBefore: 360h
|
renewBefore: 360h
|
||||||
subject:
|
subject:
|
||||||
@@ -18,7 +17,7 @@ spec:
|
|||||||
usages:
|
usages:
|
||||||
- server auth
|
- server auth
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- wiki.mainscnt.eu
|
- mx.hottis.de
|
||||||
issuerRef:
|
issuerRef:
|
||||||
name: letsencrypt-staging-http
|
name: letsencrypt-staging-http
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
|
|||||||
Reference in New Issue
Block a user