Drop unused vanilla P12 export
This commit is contained in:
parent
b9d631c401
commit
fa508a0fdd
@ -202,13 +202,6 @@ function onEnroll(encoding) {
|
|||||||
let privKeyBase64 = await pkijsToBase64(keys.privateKey);
|
let privKeyBase64 = await pkijsToBase64(keys.privateKey);
|
||||||
|
|
||||||
switch(encoding) {
|
switch(encoding) {
|
||||||
case 'p12':
|
|
||||||
var p12 = await pkcs12chain(privKeyBase64, [certBase64, caBase64], "", window.authority.certificate.hash_algorithm);
|
|
||||||
|
|
||||||
var buf = arrayBufferToString(p12.toSchema().toBER(false));
|
|
||||||
var mimetype = "application/x-pkcs12"
|
|
||||||
a.download = query.title + ".p12";
|
|
||||||
break
|
|
||||||
case 'sswan':
|
case 'sswan':
|
||||||
var p12 = arrayBufferToString(
|
var p12 = arrayBufferToString(
|
||||||
(await pkcs12chain(privKeyBase64, [certBase64, caBase64], "", window.authority.certificate.hash_algorithm)).toSchema().toBER(false));
|
(await pkcs12chain(privKeyBase64, [certBase64, caBase64], "", window.authority.certificate.hash_algorithm)).toSchema().toBER(false));
|
||||||
|
@ -122,22 +122,6 @@ systemctl restart NetworkManager</code></pre>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-12 mt-3 option windows ipsec">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-block">
|
|
||||||
<h3 class="card-title">Windows</h3>
|
|
||||||
<p class="card-text">
|
|
||||||
Import PKCS#12 container to your machine trust store.
|
|
||||||
Import VPN connection profile by moving the downloaded .pbk file to
|
|
||||||
<pre><code>%userprofile%\AppData\Roaming\Microsoft\Network\Connections\PBK</code></pre>
|
|
||||||
or
|
|
||||||
<pre><code>C:\ProgramData\Microsoft\Network\Connections\Pbk</code></pre></p>
|
|
||||||
<a href="javascript:onEnroll('p12');" class="btn btn-primary">Fetch PKCS#12 container</a>
|
|
||||||
<a href="#" class="btn btn-secondary">Fetch IPSec IKEv2 VPN profile</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-sm-12 mt-3 option windows ikev2">
|
<div class="col-sm-12 mt-3 option windows ikev2">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-block">
|
<div class="card-block">
|
||||||
|
Loading…
Reference in New Issue
Block a user