• This project
    • Loading...
  • Sign in

유희정 / Reminder-Talk

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Reminder-Talk
  • node_modules
  • google-p12-pem
  • bin
  • gp12-pem
  • 유희정's avatar
    Initial Setting · e3cb6afb
    e3cb6afb
    유희정 authored 2019-11-27 13:22:35 +0900
gp12-pem 327 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/usr/bin/env node

var gp12 = require('../');
var argv = process.argv;
var p12Path = argv[2];

if (!p12Path) {
  console.error('Please specify a *.p12 file to convert.');
  process.exit(1);
}

gp12(p12Path, function(err, pem) {
  if (err) {
    console.log(err);
    process.exit(1);
  } else {
    console.log(pem);
  }
});