OpenSSL is required to create an SSL certificate
sudo apt install openssl |
JDK includes keytool which is required to create an SSL certificate Зачем? Это ведь не требуется для последних версий SoapUI
Download the last version of JDK at http://www.oracle.com/technetwork/java/javase/downloads/index.html and setup
2. Create an SSL certificate for the test environment and configure your software
3. Import certificate and check availability of actual API version.
Download and setup OpenSSL.
The last binary version for Windows/Solaris can be downloaded at:
https://www.openssl.org/community/binaries.html
For GNU/Linux:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Use command line (administrator) create private key and request on SSL certificate.
openssl genrsa -out ${clientkey}.pem 2048 |
openssl req -new -key ${clientkey}.pem -out ${clientcsr}.pem |
Select their name for ${clientkey}, ${clientcsr} .
Enter information about:
No need to specify:
Check “Bin” (OpenSSL) folder where there will be the private key (test_key) and request on SSL certificate (request_csr).
Send to api.support@s7.ru request on SSL certificate (request_csr)
After receiving the certificate from api.support@s7.ru start the import.
openssl pkcs12 -export -in ${clientcert}.pem -inkey ${clientkey}.pem -out ${client}.p12 -name "${name}" |
Import to browser:
Mozilla Firefox > Menu > Preferences > Advanced > ViewCertificates > Your Certificates > Import > Выберите ${client}.p12
Google Chrome > Settings > Advanced Settings > HTTPS/SSL > Import > Выберите ${client}.p12
Conversion SSL certificate with use JDK
keytool -importkeystore -srckeystore ${client}.p12 -destkeystore ${client}.jks -srcstoretype PKCS12 -deststoretype JKS -deststorepass ${password} -srcstorepass ${password} |
deststorepass ${password} and srcstorepass ${password} should be identical. |
After the command we get the file — test.jks
Specify the path to the file jks and choose «requires client authentication».
1. Check your environment and prepare
sudo apt install openssl |
No action is required
— already included in OS2. Create an SSL certificate for the test environment and configure your software
3. Import certificate and check availability of actual API version.
Download and setup OpenSSL.
The last binary version for Windows/Solaris can be downloaded at:
https://www.openssl.org/community/binaries.html
For GNU/Linux:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Use command line (administrator) create private key and request on SSL certificate.
openssl genrsa -out ${clientkey}.pem 2048 |
openssl req -new -key ${clientkey}.pem -out ${clientcsr}.pem |
Select their name for ${clientkey}, ${clientcsr} .
Enter information about:
No need to specify:
Check “Bin” (OpenSSL) folder where there will be the private key (test_key) and request on SSL certificate (request_csr).
Send to api.support@s7.ru request on SSL certificate (request_csr)
After receiving the certificate from api.support@s7.ru start the import.
openssl pkcs12 -export -in ${clientcert}.pem -inkey ${clientkey}.pem -out ${client}.p12 -name "${name}" |
Import to browser:
Mozilla Firefox > Menu > Preferences > Advanced > ViewCertificates > Your Certificates > Import > Выберите ${client}.p12
Google Chrome > Settings > Advanced Settings > HTTPS/SSL > Import > Выберите ${client}.p12
Conversion SSL certificate with use JDK
keytool -importkeystore -srckeystore ${client}.p12 -destkeystore ${client}.jks -srcstoretype PKCS12 -deststoretype JKS -deststorepass ${password} -srcstorepass ${password} |
deststorepass ${password} and srcstorepass ${password} should be identical. |
After the command we get the file — test.jks
Specify the path to the file jks and choose «requires client authentication».