Ajout export P12
This commit is contained in:
@@ -5,41 +5,13 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>PKI Manager</title>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
||||
<link rel="stylesheet" href="/static/fontawesome/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1><i class="fas fa-shield-alt"></i> PKI Manager</h1>
|
||||
<h1><i class="fas fa-shield-alt"></i>ZEN6 PKI Manager - WIP</h1>
|
||||
<p>Manage your Certificate Authority infrastructure</p>
|
||||
<div style="margin-bottom: 10px;">
|
||||
<button class="btn" onclick="pki.debugData()" style="background: #38a169;">
|
||||
<i class="fas fa-bug"></i> Debug Data
|
||||
</button>
|
||||
<button onclick="testDropdown()" style="padding: 8px 12px; background: #4CAF50; color: white; border: none; border-radius: 4px; cursor: pointer;">
|
||||
Test Dropdown
|
||||
</button>
|
||||
<script>
|
||||
function testDropdown() {
|
||||
console.log('=== TEST DROPDOWN ===');
|
||||
const dropdown = document.getElementById('issuerCA');
|
||||
console.log('Dropdown:', dropdown);
|
||||
console.log('Parent:', dropdown?.parentElement);
|
||||
console.log('All selects:', document.querySelectorAll('select'));
|
||||
|
||||
// Simuler le remplissage
|
||||
if (dropdown) {
|
||||
dropdown.innerHTML = '';
|
||||
const option = document.createElement('option');
|
||||
option.value = 'test';
|
||||
option.textContent = 'Test Option';
|
||||
dropdown.appendChild(option);
|
||||
console.log('Test option added');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</div>
|
||||
<nav>
|
||||
<button class="nav-btn" data-tab="dashboard">
|
||||
<i class="fas fa-home"></i> Dashboard
|
||||
@@ -136,13 +108,21 @@
|
||||
<label for="caLocality">Locality/City</label>
|
||||
<input type="text" id="caLocality" name="locality">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="caStreetAddress">StreetAddress/City</label>
|
||||
<input type="text" id="caStreetAddress" name="street_address">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="caPostalCode">PostalCode</label>
|
||||
<input type="text" id="caPostalCode" name="postal_code">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="caEmail">Email</label>
|
||||
<input type="email" id="caEmail" name="email" required>
|
||||
<input type="email" id="caEmail" name="email">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="caKeySize">Key Size</label>
|
||||
<select id="caKeySize" name="key_size" required>
|
||||
<select id="caKeySize" name="key_sizeq" required>
|
||||
<option value="2048">2048 bits</option>
|
||||
<option value="4096" selected>4096 bits</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user