What’s the requirements for TP-Link Switch SSL certificate and key file?

Q&A of functional explanation or specification parameters
Updated 03-12-2020 00:59:06 AM 4718

For TP-Link Switch, it supports HTTPS for management web. Provides security access via a web browser. HTTPS is based on SSL. Before the client and server communicate, they need to pass the authentication by certificate. The switch carries a self-signed certificate. Users also can import their certificate file and key file. The related management web is as follows.


The certificate file and key file has many formats. If you meet the error when import certificate file, it may be caused by the wrong format. For certificate file and key file, they must match each other; otherwise the HTTPS connection will not work. And they should be BASE64 encoded and match the below format.


For certificate file, it needs to match the following format.





For key file, it needs to match one of the following formats.












"-----END EC PRIVATE KEY-----"



Sometimes you will see that the key file uses the format of “BEGIN PRIVATE KEY”. It’s available in the form of PKCS#8, that identifies the type of public key and contains the relevant data. Generally, if you use the command of “openssl req xxx” to generate both the private key and the crt/csr, the key will use the format of “BEGIN PRIVATE KEY”.


To make the key file be able to import to TP-Link switch, you can convert the “BEGIN PRIVATE KEY” to the formats that TP-Link supports. Just use the command “openssl rsa –in $FROMFILE –out $TOFILE”. $FROMFILE means the filename of your current key file. $TOFILE means the filename of the newly generated key file. 

Is this faq useful?

Your feedback helps improve this site.

Sign up for news & offersTP-Link takes your privacy seriously. For further details on TP-Link's privacy practices, see TP-Link's Privacy Policy
Please contact our Live Chat service for immediate support, or ask questions on our Community / email support. Our hotline service will have longer than normal holds times or be unavailable at times because of the recent world events.

From United States?

Get products, events and services for your region.