2. Remember a failed CAS setup - certificate configuration_PHP tutorial

WBOY
Release: 2016-07-13 10:27:19
Original
919 people have browsed it

============================================== ================================================== ===========

Setp2: SSL certificate generation:: Reference: http://www.open-open.com/lib/view/open1392018954614.html

================================================== ================================================== ========

1. Generate keypair

keytool -genkeypair -alias cas -keyalg RSA -storepass changeit
Copy after login

By default, the generated keystore is the .keystore file in the user directory. For Win8, the default user directory is C:Users username.

When generating a keypair, just enter any information. Finally, select "y" and press Enter directly. Do not enter a password

2. Export the certificate from keystore

keytool -exportcert -alias cas -file cas.crt -storepass changeit
Copy after login

3. Import certificate

keytool -importcert -alias cas -file cas.crt -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass changeit -noprompt
Copy after login

4. Double-click to execute the running certificate!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/818152.htmlTechArticle======================== ================================================== =============================== Setp2: SSL certificate generation::Reference: http://www.open-open. com/lib/view/open13...
Related labels:
cas
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template