Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. show $tokyo;
  2.   > 2| class Tokyo {
  3.     3|  private function sign($caCert,$userCsr) {
  4.     4|          $caKey = file_get_contents('/home/nairobi/ca.key');
  5.     5|          $userCert = openssl_csr_sign($userCsr, $caCert, $caKey, 365, ['digest_alg'=>'sha256']);
  6.     6|          openssl_x509_export($userCert, $userCertOut);
  7.     7|          return $userCertOut;
  8.     8|  }
  9.     9| }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement