weixin_39773158
weixin_39773158
2020-11-27 20:00

Support validity period selection in years

Some CAs (DigiCert is one) only allow you to specify validity periods in integers (1, 2 or 3 years). There are no specific date selections allowed. Would be nice if there was a way in the GUI to quickly select one of these options. Implementation flexible.

该提问来源于开源项目:Netflix/lemur

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_39531761 weixin_39531761 5月前

    Sorry for the lag time...

    I believe the referenced commit should close this issue. Essentially I added a year drop down to the UI and then made the value of that dropdown visible via the issuer_options dict. Now individual plugins can have what they need to support number of years instead of specific beginning and end dates.

    Feel free to comment on the PR.

    An example of the field in question: screen shot 2016-04-01 at 2 27 02 pm

    点赞 评论 复制链接分享
  • weixin_39531761 weixin_39531761 5月前

    Verisign/Symantec does something similar but they do allow for the ability to specify the end date. Does digicert disallow a given end date at all?

    https://github.com/Netflix/lemur/blob/master/lemur/plugins/lemur_verisign/plugin.py#L100

    点赞 评论 复制链接分享
  • weixin_39773158 weixin_39773158 5月前

    So after reviewing the API they do support a specific end-date if you want to end it earlier that the standard 1,2,3 years. Suppose this is is more of a usability request. Right now we're having to select dates that fall into the 1/2 year bounds. Would be nice to be able to select an integer 1 or 2 or 3.

    点赞 评论 复制链接分享
  • weixin_39531761 weixin_39531761 5月前

    Got it. UI wise I think we could do a dropdown with 1, 2, 3 years and then an advanced box for users who want to specify an end date.

    点赞 评论 复制链接分享
  • weixin_39773158 weixin_39773158 5月前

    That would be perfect! On Thu, Dec 31, 2015 at 2:54 PM kevgliss notifications.com wrote:

    Got it. UI wise I think we could do a dropdown with 1, 2, 3 years and then an advanced box for users who want to specify an end date.

    — Reply to this email directly or view it on GitHub https://github.com/Netflix/lemur/issues/195#issuecomment-168258235.

    点赞 评论 复制链接分享

相关推荐