{"componentChunkName":"component---src-templates-blocklet-detail-js","path":"/dapp/certificates-manager","result":{"pageContext":{"language":"en","originalPath":"/dapp/certificates-manager","locale":"en","blocklet":{"name":"certificates-manager","version":"0.2.13","description":"Manage ABT Node SSL certificates","keywords":["dapp","ssl","certificate","dns"],"author":{"name":"polunzh","email":"polunzh@gmail.com","url":"http://github.com/polunzh"},"repository":{"type":"git","url":"https://github.com/ArcBlock/abt-node/tree/master/blocklets/certificates-manager"},"title":"Certificates Manager","license":"Apache-2.0","files":["build","screenshots","logo.png","blocklet.md","README.md","hooks"],"specVersion":"1.0.2","did":"z8iZtEerb5YvuaTrkkryeAMexfVTk7EaUnmVU","group":"dapp","main":"blocklet.zip","logo":"logo.png","community":"https://community.arcblockio.cn","support":"support@arcblock.io","environments":[{"name":"NODE_ACCESS_KEY","description":"Access key to manage certificates of the ABT Node","required":true,"default":"","secure":false},{"name":"NODE_ACCESS_SECRET","description":"Access secret to manage certificates of the ABT Node","required":true,"secure":true,"default":""},{"name":"NODE_DOMAIN","description":"Domain name of current production node","required":true,"default":"","secure":false},{"name":"MAINTAINER_EMAIL","description":"The maintainer's email","required":true,"default":"","secure":false},{"name":"ENABLE_ECHO_DNS","description":"Enable echo dns service or not","required":true,"default":"false","secure":false},{"name":"ECHO_DNS_IP_REGEX","description":"ip regex string","required":false,"default":"(\\d{1,3})-(\\d{1,3})-(\\d{1,3})-(\\d{1,3})\\.ip\\.abtnet\\.io","secure":false},{"name":"ECHO_DNS_DOMAIN","description":"ip regex string","required":false,"default":"ip.abtnet.io","secure":false}],"scripts":{"dev":"npm run start","preStart":"node hooks/pre-start.js"},"documentation":"","homepage":"","interfaces":[{"type":"web","name":"adminUrl","path":"/","prefix":"*","port":"BLOCKLET_PORT","protocol":"http"},{"type":"web","name":"wellknownUrl","path":"/","prefix":"/.well-known/acme-challenge","port":"BLOCKLET_PORT","protocol":"http"},{"type":"service","name":"dns","protocol":"udp","port":{"internal":"BLOCKLET_DNS_PORT","external":53},"path":"/","prefix":"*"}],"screenshots":["/static/8f6b4f8f31f647ced26bc05b878d44e4/domain_list.png"],"timeout":{"start":60},"gitHash":"9177972e8738da54f46efd020466c7217bd5217b","htmlAst":{"type":"root","children":[{"type":"element","tagName":"h1","properties":{"id":"certificates-manager","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#certificates-manager","ariaLabel":"certificates manager permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Certificates Manager"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Manage certificates in ABT Node."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"getting-started","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#getting-started","ariaLabel":"getting started permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Getting started"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"configuration","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#configuration","ariaLabel":"configuration permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Configuration"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Put following contents in "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":":"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-ini"],"server":"","side":""},"children":[{"type":"text","value":"SKIP_PREFLIGHT_CHECK=true\n\n# server side\nBLOCKLET_PORT=\"3030\"\n\nREACT_APP_BASE_URL=\"http://192.168.31.60:3030\"\nREACT_APP_APP_NAME=\"Certificate Manager\"\nREACT_APP_APP_DESCRIPTION=\"Manage SSL certificates\"\nREACT_APP_API_PREFIX=\"\"\n\nALI_ACCESS_KEY_ID='xxx'\nALI_ACCESS_KEY_SECRET='xxx'\nNODE_ACCESS_KEY='xxx'\nNODE_ACCESS_SECRET='xxx'\nABT_NODE_PORT=8089\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"start-hacking","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#start-hacking","ariaLabel":"start hacking permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Start hacking"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-shell"],"run":"","start:server":""},"children":[{"type":"text","value":"npm run start:server\nnpm run start:client\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"deploy-to-local-abt-node","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#deploy-to-local-abt-node","ariaLabel":"deploy to local abt node permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Deploy to local ABT Node"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-shell"]},"children":[{"type":"text","value":"blocklet deploy .\n"}]}]}],"data":{"quirksMode":false}},"logoUrl":"/static/851c70ca63d3184af63340254cb49423/logo.png","path":"/dapp/certificates-manager","charging":{"price":0},"stats":{"downloads":2116,"updated_at":"2021-03-26T09:31:45.547Z"},"dist":{"integrity":"sha512-EIxW/KiKky6PuWlxKP4nxhpYEqAuwGUnurjbRXDh2CqgAYGy8jrG7la33FBfbQmH8xrbb3J51aw/kDKctNVO0A==","shasum":"8337ea396607dd62f34f5d7d2858f5214f9b2458","tarball":"https://registry.npmjs.org/certificates-manager/-/certificates-manager-0.2.13.tgz","fileCount":19,"unpackedSize":14466059}}}},"staticQueryHashes":["1812186216"]}