Cara Setup OpenVPN with Certificate

 MIKROTIK A (SERVER): CERTIFICATE SETUP & EXPORT

CREATE THE CERTIFICATES


/certificate add name=ca-template common-name=CA-HQ key-usage=key-cert-sign,crl-sign

/certificate add name=server-template common-name=SERVER

/certificate add name=client-Cabang-template common-name=client-Cabang


SIGN THE CERTIFICATES

/certificate sign ca-template ca-crl-host=103.84.209.22 name=CA-HQ

/certificate sign ca=CA-HQ server-template name=SERVER

/certificate sign ca=CA-HQ client-Cabang-template name=client-Cabang


ENABLE “TRUSTED” FOR THE CERTIFICATE AUTHORITY AND SERVER ONLY

/certificate set CA-HQ trusted=yes

/certificate set SERVER trusted=yes


EXPORT THE CERTIFICATES

/certificate export-certificate CA-HQ

/certificate export-certificate client-Cabang export-passphrase=123456789


Ambil file menggunakan FTP

cert_export_CA-HQ.crt

cert_export_client-Cabang.key

cert_export_client-Cabang.crt






MIKROTIK B (CLIENT): CERTIFICATE SETUP & IMPORT

Upload file menggunakan FTP


cert_export_CA-HQ.crt

cert_export_client-Cabang.key

cert_export_client-Cabang.crt


IMPORT THE CERTIFICATES

/certificate import file-name=cert_export_CA-HQ.crt passphrase=""

/certificate import file-name=cert_export_client-Cabang.crt passphrase=123456789

/certificate import file-name=cert_export_client-Cabang.key passphrase=123456789








Semoga Bermanfaat

Penulis : Een Pahlefi,S.Kom

1 Response to "Cara Setup OpenVPN with Certificate"

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel