mirror of https://github.com/trailofbits/algo
Merge branch 'win10_support' #9
commit
790bcb2efc
@ -1,2 +1,5 @@
|
||||
{% if Win10_Enabled is defined and Win10_Enabled == "Y" %}
|
||||
{{ IP_subject_alt_name }} : RSA {{ IP_subject_alt_name }}_{{ item }}.key
|
||||
{% else %}
|
||||
{{ IP_subject_alt_name }} : ECDSA {{ IP_subject_alt_name }}_{{ item }}.key
|
||||
|
||||
{% endif %}
|
||||
|
@ -0,0 +1,3 @@
|
||||
certutil -f -p {{ easyrsa_p12_export_password }} -importpfx .\{{ IP_subject_alt_name }}_{{ item }}.p12
|
||||
Add-VpnConnection -name "Algo" -ServerAddress "{{ IP_subject_alt_name }}" -TunnelType IKEv2 -AuthenticationMethod MachineCertificate -EncryptionLevel Required
|
||||
Set-VpnConnectionIPsecConfiguration -ConnectionName "Algo" -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES256 -EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -DHGroup Group14 -PfsGroup none
|
@ -1,2 +1,5 @@
|
||||
{% if Win10_Enabled is defined and Win10_Enabled == "Y" %}
|
||||
: RSA {{ IP_subject_alt_name }}.key
|
||||
{% else %}
|
||||
: ECDSA {{ IP_subject_alt_name }}.key
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue