list_ssl.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!-- Begin toolbar -->
  2. <div class="toolbar">
  3. <div class="toolbar-inner">
  4. <div class="toolbar-right">
  5. </div>
  6. </div>
  7. </div>
  8. <!-- End toolbar -->
  9. <div class="container animate__animated animate__fadeIn">
  10. <form id="vstobjects" name="v_generate_csr" method="post">
  11. <input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
  12. <div class="form-container">
  13. <h1 class="form-title"><?= _("Generating CSR") ?></h1>
  14. <?php show_alert_message($_SESSION); ?>
  15. <div class="u-mb20">
  16. <label for="v_crt" class="form-label">
  17. <?= _("SSL Certificate") ?>
  18. <a href="javascript:saveTextToBlob('<?php echo htmlentities($v_domain); ?>.crt', 'v_crt');"><i class="fas fa-download"></i></a>
  19. </label>
  20. <textarea class="form-control u-min-height100" name="v_crt" id="v_crt"><?= $v_crt ?></textarea>
  21. </div>
  22. <div class="u-mb20">
  23. <label for="v_key" class="form-label">
  24. <?= _("SSL Key") ?>
  25. <a href="javascript:saveTextToBlob('<?php echo htmlentities($v_domain); ?>.key', 'v_key');"><i class="fas fa-download"></i></a>
  26. </label>
  27. <textarea class="form-control u-min-height100" name="v_key" id="v_key"><?= $v_key ?></textarea>
  28. </div>
  29. <div class="u-mb20">
  30. <label for="v_csr" class="form-label">
  31. <?= _("SSL CSR") ?>
  32. <a href="javascript:saveTextToBlob('<?php echo htmlentities($v_domain); ?>.csr', 'v_crt');"><i class="fas fa-download"></i></a>
  33. </label>
  34. <textarea class="form-control u-min-height100" name="v_csr" id="v_csr"><?= $v_csr ?></textarea>
  35. </div>
  36. <div>
  37. <button type="button" class="button button-secondary" onclick="<?= $back ?>">
  38. <?= _("Back") ?>
  39. </button>
  40. </div>
  41. </div>
  42. </form>
  43. </div>