Guest User

Untitled

a guest
Oct 20th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. apiVersion: batch/v1
  2. kind: Job
  3. metadata:
  4. #labels:
  5. # app: certbot-generator
  6. name: certbot
  7. spec:
  8. template:
  9. metadata:
  10. labels:
  11. app: certbot-generate
  12. spec:
  13. volumes:
  14. - name: certs
  15. containers:
  16. - name: certbot
  17. image: certbot/certbot
  18. command: ["certbot"]
  19. #command: ["yes"]
  20. args: ["certonly", "--noninteractive", "--agree-tos", "--staging", "--standalone", "-d", "staging.ishankhare.com", "-m", "me@ishankhare.com"]
  21.  
  22. volumeMounts:
  23. - name: certs
  24. mountPath: "/etc/letsencrypt/"
  25. #- name: certs
  26. #mountPath: "/opt/"
  27. ports:
  28. - containerPort: 80
  29. - containerPort: 443
  30. restartPolicy: "OnFailure"
  31.  
  32. apiVersion: v1
  33. kind: Service
  34. metadata:
  35. name: certbot-lb
  36. labels:
  37. app: certbot-lb
  38. spec:
  39. type: LoadBalancer
  40. loadBalancerIP: 35.189.170.149
  41. ports:
  42. - port: 80
  43. name: "http"
  44. protocol: TCP
  45. - port: 443
  46. name: "tls"
  47. protocol: TCP
  48. selector:
  49. app: certbot-generator
  50.  
  51. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  52. Plugins selected: Authenticator standalone, Installer None
  53. Obtaining a new certificate
  54. Performing the following challenges:
  55. http-01 challenge for staging.ishankhare.com
  56. Waiting for verification...
  57. Cleaning up challenges
  58. Failed authorization procedure. staging.ishankhare.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://staging.ishankhare.com/.well-known/acme-challenge/tpumqbcDWudT7EBsgC7IvtSzZvMAuooQ3PmSPh9yng8: Timeout during connect (likely firewall problem)
  59. IMPORTANT NOTES:
  60. - The following errors were reported by the server:
  61.  
  62. Domain: staging.ishankhare.com
  63. Type: connection
  64. Detail: Fetching
  65. http://staging.ishankhare.com/.well-known/acme-challenge/tpumqbcDWudT7EBsgC7IvtSzZvMAuooQ3PmSPh9yng8:
  66. Timeout during connect (likely firewall problem)
  67.  
  68. To fix these errors, please make sure that your domain name was
  69. entered correctly and the DNS A/AAAA record(s) for that domain
  70. contain(s) the right IP address. Additionally, please check that
  71. your computer has a publicly routable IP address and that no
  72. firewalls are preventing the server from communicating with the
  73. client. If you're using the webroot plugin, you should also verify
  74. that you are serving files from the webroot path you provided.
  75. - Your account credentials have been saved in your Certbot
  76. configuration directory at /etc/letsencrypt. You should make a
  77. secure backup of this folder now. This configuration directory will
  78. also contain certificates and private keys obtained by Certbot so
  79. making regular backups of this folder is ideal.
Add Comment
Please, Sign In to add comment