Using a private certificate means that the system owner wants to use their own certificate instead of BioStar 2 certificate for HTTPS communication. Therefore, it’s necessary for the system owner to manage and refresh a certificate manually following the instructions below: 

For BioStar 2.6 and above

Because of changes in the software in BioStar 2.6 the java key store has to be created to be used with the Spring WebServer.

1. Run command prompt with administrator privilege.

2. Create a p12 with a private certificate's crt and key file with the command below: 

openssl pkcs12 -export -in mycert.crt -inkey mycert.key -out biostar_cert.p12 -name "biostar"


Note: Openssl is installed with BioStar 2 and it is in the following directory: C:\Program Files\BioStar 2(x64)\ta\OpenSSL-Win32\bin 

          At that time, "Enter Export Password: "  input window occurs and should enter "suprema111".

3. Copy the created '.p12', '.key', '.crt' files to C:\Program Files\BioStar 2(x64)\nginx\conf

[Note] AC uses ".*p12" file, but TA uses "biostar_cert.key" and "biostar_cert.crt" directly.

           So the key and crt files which are used to create the "*.p12" files should be renamed to "biostar_cert" and replace to 'biostar_cert.key' and 'biostar_cert.crt'. (original biostar_cert.* files)

4. Stop Core Web Server and BioStar 2 service in BioStar Setting

5. Open C:\Program Files\BioStar 2(x64)

6. Backup system.conf and setting.conf file.

7. Run command prompt with administrator privilege.

8. type cd "C:\Program Files\BioStar 2(x64)"

9. run below command 

java -cp "C:\Program Files\BioStar 2(x64)\util";"C:\Program Files\BioStar 2(x64)\util\lib\google-collect-1.0.jar";"C:\Program Files\BioStar 2(x64)\util\lib\gson-2.8.2.jar" BioStarSetup "C:\Program Files\BioStar 2(x64)"

10. Restore the system.conf and setting.conf file to C:/Program Files/BioStar 2(x64)

11. Start the Core Web Server and BioStar 2 service in BioStar Setting

For BioStar 2.5 and below 

Please refer to the attached PDF.