We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi,
You need to create or copy the keystore to the Linux system where you are running the VirtServer. Then you need to update the VirtServer configuration file (<installation-dir>/bin/virt-server.yml). In the config file you need to un-comment the virtSSL section and update the keystore information according to your setting.
# SSL configuration for virts
#virtSSL:
#virtKeystorePath: /path/.keystore
#virtKeystorePassword: keystoreSecret
#virtKeyPassword: keySecret
#virtTrustStorePath: /path/.keystore
#virtTrustStorePassword: trustStoreSecret
Here you can find more details about VirtServer configuration http://readyapi.smartbear.com/virtserver/reference/settings.
Regards,
Shadid Chowdhury
SmartBear Sweden
Hi,
You need to create or copy the keystore to the Linux system where you are running the VirtServer. Then you need to update the VirtServer configuration file (<installation-dir>/bin/virt-server.yml). In the config file you need to un-comment the virtSSL section and update the keystore information according to your setting.
# SSL configuration for virts
#virtSSL:
#virtKeystorePath: /path/.keystore
#virtKeystorePassword: keystoreSecret
#virtKeyPassword: keySecret
#virtTrustStorePath: /path/.keystore
#virtTrustStorePassword: trustStoreSecret
Here you can find more details about VirtServer configuration http://readyapi.smartbear.com/virtserver/reference/settings.
Regards,
Shadid Chowdhury
SmartBear Sweden
Dear Shadid,
I've Setup the config file as you suggested. However running the Virt on the remote Server Fails with error:
Unable to start Virt REST Virt 1: {"error":"com.smartbear.servicev.core.model.SvpException: keystore for ssl is not configured"}
Do you have any idea? I've already double checked the keytore's location and Password
Regards
Dominik
Dear Dominik,
Can you paste part of the config where you have virtSSL (without the passwords)?
Regards,
Shadid Chowdhury
SmartBear Sweden
Hi Shadid,
please find following the config.
# SSL configuration for virts
virtSSL:
virtKeystorePath: .virtserverkeystore
virtKeystorePassword: '<Password>'
virtKeyPassword: '<Password>'
virtTrustStorePath: .virtserverkeystore
Hi Dominik,
The config looks okay.
Just to double check have you restarted your virtServer after changing the configuration? If you have restarted the server and still it did not pick the config let us know the which version of virtServer are you running, we can try to reproduce the issue here.
Regards,
Shadid Chowdhury
SmartBear Sweden.