Got it

Can't select the SSL policy as the main one for the https authentication portal server

Created: May 20, 2019 03:03:50Latest reply: Nov 21, 2021 13:26:54 403 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

After uploading CA and Local certificates to controller AC6005, as well as creating the SSL Policy, it is not possible to select this policy as the main one for the https authentication portal server, this policy is simply not in the list of existing ones.


 [AC6005]portal local-server https ssl-policy solvoru

                                               ^

Error: Wrong parameter found at '^' position.


Featured Answers
Popeye_Wang
Admin Created May 20, 2019 03:09:46

Good day!

If you have a certificate of purchase, you can do so as follows:

1Create a new PKI realm (assumed to be tested) and import the certificate.

Suppose the certificate authority provides the certificate in the PEM format, the two CA certificates (rootca.pem, middleca.pem), the local certificate(localcert.pem), and the corresponding private key file (local_privatekey.pem). You need to import a PKI domain whose device name is test.
 
a) Import the CA certificate and import it one by one according to the CA certificate file provided by the certificate authority.

[AC6005]pki import-certificate ca realm test pem filename rootca.pem
[AC6005]pki import-certificate ca realm test pem filename middleca.pem
 
After importing, you can use the following command to view:

[AC6005]display pki certificate ca realm test
 
b) Import the local certificate file
[AC6005]pki import-certificate local realm test pem filename localcert.pem
After importing, you can use the following command to view
[AC6005]display pki certificate local realm test
 
c) If the certificate authority provides a private key file, you need to import the private key file, otherwise, ignore this step
[AC6005]pki import rsa-key-pair test pem local_privatekey.pem password xxx
 
d) Use the following command to check if the imported certificate and private key match
[AC6005]pki match-rsa-key certificate-filename localcert.pem
Info: The file localcert.pem contains certificates 1.
Info: Certificate 1 from file localcert.pem matches RSA key test.
 
2Create a new SSL policy and bind the PKI realm
[AC6605] ssl policy test type  server
[AC6605-ssl-policy-test]pki-realm test
 
3 Execute the following commands in sequence
[AC6605] undo http secure-server ssl-policy
[AC6605] http secure-server ssl-policy test
[AC6605] portal local-server https ssl-policy test port xxx

View more
  • x
  • convention:

All Answers
Good day!

If you have a certificate of purchase, you can do so as follows:

1Create a new PKI realm (assumed to be tested) and import the certificate.

Suppose the certificate authority provides the certificate in the PEM format, the two CA certificates (rootca.pem, middleca.pem), the local certificate(localcert.pem), and the corresponding private key file (local_privatekey.pem). You need to import a PKI domain whose device name is test.
 
a) Import the CA certificate and import it one by one according to the CA certificate file provided by the certificate authority.

[AC6005]pki import-certificate ca realm test pem filename rootca.pem
[AC6005]pki import-certificate ca realm test pem filename middleca.pem
 
After importing, you can use the following command to view:

[AC6005]display pki certificate ca realm test
 
b) Import the local certificate file
[AC6005]pki import-certificate local realm test pem filename localcert.pem
After importing, you can use the following command to view
[AC6005]display pki certificate local realm test
 
c) If the certificate authority provides a private key file, you need to import the private key file, otherwise, ignore this step
[AC6005]pki import rsa-key-pair test pem local_privatekey.pem password xxx
 
d) Use the following command to check if the imported certificate and private key match
[AC6005]pki match-rsa-key certificate-filename localcert.pem
Info: The file localcert.pem contains certificates 1.
Info: Certificate 1 from file localcert.pem matches RSA key test.
 
2Create a new SSL policy and bind the PKI realm
[AC6605] ssl policy test type  server
[AC6605-ssl-policy-test]pki-realm test
 
3 Execute the following commands in sequence
[AC6605] undo http secure-server ssl-policy
[AC6605] http secure-server ssl-policy test
[AC6605] portal local-server https ssl-policy test port xxx

View more
  • x
  • convention:

Posted by Popeye_Wang at 2019-05-20 03:09  If you have a certificate of purchase, you can do so as follows:1) Create a new pki realm (assum ...
Thanks, I'll try.
View more
  • x
  • convention:

Good answer
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.