- Для начала необходимо создать сертификат для SSL соединения.
- Качаем open-ssl http://slproweb.com/products/Win32OpenSSL.html (Win32 OpenSSL v1.0.1e Light)
- Устанавливаем. Прописываем в системную переменную путь к openssl (c:\OpenSSL-Win32\bin\;) и заодно путь к keytool вашего jdk (c:\Program Files\Java\jdk1.7.0_09\bin\)
- Открываем cmd. Выполняем последовательно:
keytool -keystore keystore -alias jetty -genkey -keyalg RSA
Заполняем похожую форму:
keytool -keystore keystore -alias jetty -genkey -keyalg RSA Enter keystore password: password What is your first and last name? [Unknown]: jetty.eclipse.org What is the name of your organizational unit? [Unknown]: Jetty What is the name of your organization? [Unknown]: Mort Bay Consulting Pty. Ltd. What is the name of your City or Locality? [Unknown]: What is the name of your State or Province? [Unknown]: What is the two-letter country code for this unit? [Unknown]: Is CN=jetty.eclipse.org, OU=Jetty, O=Mort Bay Consulting Pty. Ltd., L=Unknown, ST=Unknown, C=Unknown correct? [no]: yes Enter key password for <jetty> (RETURN if same as keystore password): password
Затем:
openssl genrsa -des3 -out jetty.key
openssl req -new -x509 -key jetty.key -out jetty.crt
Выполняем:
openssl req -new -x509 -key jetty.key -out jetty.crt
Опять заполняем форму:
Enter pass phrase for jetty.key: You are about to be asked to enter information to be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there is a default value, If you enter '.', the field is left blank. ----- Country Name (2 letter code) [AU]:. State or Province Name (full name) [Some-State]:. Locality Name (eg, city) []:. Organization Name (eg, company) [Internet Widgets Pty Ltd]:Mort Bay Consulting Pty. Ltd. Organizational Unit Name (eg, section) []:Jetty Common Name (eg, YOUR name) []:jetty.eclipse.org Email Address []:
В итоге получаем сертификат jetty.crt. Добавляем его в настройках SSL Eclipse:
Preferences -> Remote Systems -> SSL
Далее устанавливаем плагин:
help -> Install new software
Добавляем репозитарий Add
прописываем url: http://www.mylynbitbucketconnector.xpg.com.br/update
перегружаем eclipse
Настраиваем плагин, добавляем свой проект. (В настройках проекта bitbucket включите Задачи)
Комментариев нет:
Отправить комментарий