Target period — 7 working days
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 JIRA request on SSL certificate (request_csr)
Receive the certificate, personal login and password for basic authentication and test access parameters for requests
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
Open — SoapUI > File > Preferences > SSL Setting
Specify the path to the file jks and choose «requires client authentication».
If you still have any question, try to resolved it with FAQ, documentation or ask our technical support by JIRA or email at api.support@s7.ru |