Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana server is not ready yet #2

Open
therus000 opened this issue Jan 18, 2022 · 2 comments
Open

Kibana server is not ready yet #2

therus000 opened this issue Jan 18, 2022 · 2 comments

Comments

@therus000
Copy link

i got Kibana server is not ready yet when i deploy all

@therus000
Copy link
Author

on es-client i got crashloop ElasticsearchSecurityException[failed to load SSL configuration [xpack.security.http.ssl]]; nested: ElasticsearchException[failed to initialize SSL TrustManager]; nested: CertificateParsingException[Empty issuer DN not allowed in X509Certificates];

@ShannonHung
Copy link

The problem is cert-manager
you need to add spec.subject and spec.commonName like below:

---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: selfsigned-issuer
  namespace: logging
spec:
  selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: es-http-tls
  namespace: logging
spec:
  isCA: true
  dnsNames:
    - es-cluster-svc
    - es-cluster-svc.logging.svc
    - es-cluster-svc.logging.svc.cluster.local
  issuerRef:
    kind: Issuer
    name: selfsigned-issuer
  secretName: es-http-tls
  commonName: quickstart
  subject:
    organizations:
      - quickstart
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: kibana-tls
  namespace: logging
spec:
  isCA: true
  duration: 2h # 90d
  renewBefore: 1h # 7d
  dnsNames:
    - localhost
  issuerRef:
    kind: Issuer
    name: selfsigned-issuer
  secretName: kibana-tls
  commonName: quickstart
  subject:
    organizations:
      - quickstart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants