1894 Commits
Author SHA1 Message Date
Brad Warren 4caba1fc75 Test mixed versions 2016-05-23 13:53:09 -07:00
Brad Warren 40a0354b36 Start get_strict_version tests 2016-05-23 13:50:14 -07:00
Brad Warren d4de026372 Add get_strict_version 2016-05-23 13:37:47 -07:00
Seth Schoen e7c8b73083 Test coverage for register verb 2016-05-22 09:50:27 -07:00
Seth Schoen fab9f8db78 Complete register functionality (for now) 2016-05-21 13:27:12 -07:00
Seth Schoen 3105fe8a34 Disable too-many-statements on parser setup 2016-05-21 13:26:59 -07:00
Brad Warren 5cb0e0f264 Add test for csr with inconsistent domains 2016-05-20 17:41:58 -07:00
Brad Warren 0b85a8f1c8 Add a test for a CSR with no domains 2016-05-20 17:37:48 -07:00
Brad Warren 3c11733006 fix --csr and --allow-subset-of-names test 2016-05-20 17:32:37 -07:00
Brad Warren 2c4c8c081c Test bad csr 2016-05-20 17:00:06 -07:00
Brad Warren 953d4957b8 Add csr test 2016-05-20 16:57:13 -07:00
Brad Warren a48afd498c Start import_csr_file tests 2016-05-20 16:52:35 -07:00
Noah Swartz 271316a413 cover test 2016-05-20 16:32:39 -07:00
Brad Warren 53286863fe Simplify import_csr_file 2016-05-20 16:26:09 -07:00
Brad Warren 73c4e8f7a4 Cleanup test_obtain_certificate_from_csr 2016-05-20 16:24:49 -07:00
Seth Schoen e3d0293735 Merge branch 'master' into update_registration 2016-05-20 16:23:12 -07:00
Brad Warren 32d32dbc12 cli.py PEP8 fixes 2016-05-20 15:20:28 -07:00
Brad Warren 34cc714281 Merge branch 'use-cn-from-csr' into csr++ 2016-05-20 15:13:34 -07:00
Brad Warren f56aab65d7 Merge branch 'master' into use-cn-from-csr 2016-05-20 15:13:03 -07:00
Brad Warren dfb1b72c99 Merge branch 'master' into csr++ 2016-05-20 15:10:46 -07:00
Noah Swartz 46be2df199 fix syntax error 2016-05-20 13:25:34 -07:00
sagi 7689de2ad8 Fix tests 2016-05-20 01:18:50 +00:00
Sagi KedmiandJacob Hoffman-Andrews ad76de2502 OCSP Stapling Enhancement for Apache (#2723)
Currently supports only Apache >=2.3.3.
letsencrypt --staple-ocsp -d dumpbits.com [no problem to set it on for apache => 2.3.3]
To check OCSP Stapling:
[~]$ echo QUIT | openssl s_client -connect dumpbits.com:443 -status 2>/dev/null | grep -A 31 'OCSP Resp'
OCSP Response Data:
    OCSP Response Status: successful (0x0)
    Response Type: Basic OCSP Response
    Version: 1 (0x0)
    Responder Id: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
    Produced At: Mar 26 17:54:00 2016 GMT
    Responses:
    Certificate ID:
      Hash Algorithm: sha1
      Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
      Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
      Serial Number: 032A2108AAA650E6EE2E6B041C03C2612A19
    Cert Status: good
    This Update: Mar 26 17:00:00 2016 GMT
    Next Update: Apr  2 17:00:00 2016 GMT

    Signature Algorithm: sha256WithRSAEncryption
         64:f2:71:02:6a:97:d9:eb:13:c1:5c:7a:f5:eb:26:89:3b:40:
         e3:08:82:f7:71:d4:fa:61:4a:8e:4a:7d:e9:53:84:e9:3a:89:
         67:66:08:d9:0e:79:65:9a:8d:dc:fb:07:cc:93:4f:eb:4e:3c:
         cc:7f:cd:fd:db:8f:c3:25:c3:54:87:a9:9c:35:6f:c1:39:31:
         e0:b1:f6:b1:3d:52:5d:db:bb:69:0f:23:05:fe:33:29:1f:ff:
         c6:af:17:a5:98:58:50:3a:48:93:5c:09:4b:f3:91:36:48:31:
         ed:ee:47:4d:66:c3:25:cf:56:b7:f4:48:80:eb:b8:f0:27:b1:
         97:18:b4:88:71:c6:55:5d:bb:25:16:48:98:85:8a:12:8d:64:
         bf:51:df:39:b1:44:91:e1:f2:c6:c3:7d:23:2b:d2:0f:4c:7f:
         57:b1:c9:ae:ec:32:b5:6a:87:bd:83:43:f1:f7:3c:8c:11:5c:
         9d:a5:12:fa:e6:79:87:45:c6:1d:46:c8:14:1e:8d:d1:de:7a:
         0d:e4:53:f2:c9:b6:e5:6e:cb:91:14:bb:04:38:36:4f:71:55:
         e1:ff:71:c7:a6:31:ed:db:6c:0f:d7:f5:ef:0c:6e:08:6b:e0:
         37:cf:ca:a5:67:89:c2:de:8e:36:6d:2f:41:7f:9f:10:c6🇩🇪
         4d:b1:2d:09
======================================
2016-05-19 16:04:18 -07:00
Seth Schoen b0a2427096 Merge branch 'master' into update_registration 2016-05-19 13:30:59 -07:00
sagi 3589b25dc3 Make lint happy 2016-05-19 19:35:38 +00:00
sagi 501c19ef2a Syntax 2016-05-19 19:33:04 +00:00
sagi e1eb3eff16 Improve code reuse 2016-05-19 19:27:18 +00:00
sagi fde151848d Use set_by_cli for fullchain_path and chain_path 2016-05-19 19:11:25 +00:00
sagi e737481129 WIP 2016-05-19 18:20:27 +00:00
Peter Eckersley 0294db7061 Merge pull request #2992 from certbot/post-hook
Only run post-hook if pre-hook was (or would have been, if it existed)
2016-05-18 16:31:00 -07:00
Seth Schoen 2ba5ce9217 Mention register subcommand in main help 2016-05-18 15:55:25 -07:00
Seth Schoen 70912be5a9 Associate --update-registration with register help topic 2016-05-18 14:57:31 -07:00
Peter Eckersley df9174b81f Fix whitespace 2016-05-18 14:36:07 -07:00
Peter Eckersley 8b7a7f2e4b Merge pull request #3011 from certbot/webroot-map-renewal
Allow modifying webroot-map during renewal
2016-05-18 14:32:48 -07:00
Brad Warren 94549219c5 Add get_names_from_csr tests 2016-05-18 14:06:32 -07:00
Seth Schoen 354b5ead2c Merge branch 'master' into update_registration 2016-05-18 14:03:37 -07:00
Brad Warren 77e4be933c Simplify get_names_from_csr 2016-05-18 13:59:17 -07:00
Brad Warren 8e17d7498d Add get_names_from_csr 2016-05-18 10:14:15 -07:00
Brad Warren 50421e99be Factor loading cert/req into its own function 2016-05-18 09:56:34 -07:00
Marius Gedminas 321a806b91 Hook validation: skip leading spaces/newlines
Improves the situation with #3020 a bit.

Does nothing about other valid shell commands that the current
validation would reject:

  - shell builtins like --post-hook 'if [ -x /my/script ]; then /my/script; fi'
  - variable assignments like --post-hook 'ENV_VAR=value command'
  - comments
  - redirections like --post-hook '<infile command'
  - I'm sure I'm missing many other exciting possibilities
2016-05-18 11:57:50 +03:00
sagi 7e3c9399e5 Use cli.set_by_cli to detect if the user explicitly set cert_path 2016-05-17 22:12:11 +00:00
Noah Swartz 4b1d9e0af2 Merge pull request #2986 from certbot/doc-cleanup
Doc cleanup
2016-05-16 20:14:02 -07:00
Brad Warren accc83a1ca add py2.6 compatibility 2016-05-16 18:03:17 -07:00
Brad Warren b9c97954ee Add comment about removing the exception in the future 2016-05-16 17:48:26 -07:00
Brad Warren 323bb34144 Add test to prevent regressions 2016-05-16 17:45:52 -07:00
Brad Warren 9efdd3b38f Fixes 2977 2016-05-16 17:34:30 -07:00
sagi f092669347 If cert_path provided - do not randomize it 2016-05-16 21:19:44 +00:00
Peter Eckersley f4103bdbb3 post-hook only runs if pre-hook was (or would have been, if it existed) 2016-05-13 18:49:01 -07:00
Peter Eckersley 3ddd972356 Update the renewal-related message we print after obtaining a cert 2016-05-13 18:19:57 -07:00
Peter Eckersley d2df6880e5 Merge remote-tracking branch 'origin/master' into must-staple 2016-05-13 13:10:23 -07:00