Installation of certificate in ruby: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
(יצירת דף עם התוכן "<div lang="en" dir="ltr" class="mw-content-ltr"> <div lang="he" dir="rtl"> לעברית לחצו כאן </div> <div lang="en"...") |
|||
(5 גרסאות ביניים של 4 משתמשים אינן מוצגות) | |||
שורה 1: | שורה 1: | ||
− | + | {{עמוד בעברית|התקנת תעודה ב-ruby}} | |
− | |||
− | |||
− | |||
− | <div lang="en" dir="ltr" | + | <div lang="en" dir="ltr"> |
− | |||
− | |||
− | |||
− | + | {{קישור אנגלית לתצוגת קריאה}} | |
− | + | {{Navigation|Security certificate}} | |
− | |||
− | |||
− | |||
− | + | ==Installation instructions== | |
− | + | #Download the certificate of your Provider of NetFree from here http://netfree.link/netfree-ca.crt. | |
+ | #Change the extension of the certificate to pem, now the filename will be netfree-ca.pem. | ||
+ | #Insert the certificate into the designated folder as described below. | ||
+ | #Refresh the certificate as detailed below | ||
− | + | '''Note: When you install a different version of Ruby, If you do not use RVM, the certificate will need to be reinstalled.''' | |
− | + | ==The folder where the certificate should be inserted== | |
− | + | There are two options, please [http://netfree.link/user#/tickets/new report us at our support system] which option has been useful to you, thank you. | |
− | + | ===In Windows:=== | |
+ | <pre>C:\Ruby{The version number}{-x64 - If it's a 64-bit operating system}\ssl</pre> | ||
− | C:\ | + | For example: <pre>C:\Ruby25-x64\ssl</pre> |
− | + | <pre>C:\Ruby{The version number}{-x64 - If it's a 64-bit operating system}\lib\ruby\{The version number}\rubygems\ssl_certs\netfree.link</pre> | |
− | + | For example: <pre>C:\Ruby25-x64\lib\ruby\2.5.0\rubygems\ssl_certs\netfree.link</pre> | |
− | + | ===In Mac:=== | |
− | + | <pre>/opt/rubies/{The version number}/ssl</pre> | |
− | /opt/rubies// | + | For example: <pre>/opt/rubies/2.5.0/ssl</pre> |
− | + | <pre>/opt/rubies//lib/ruby/{The version number}/rubygems/ssl_certs/netfree.link</pre> | |
− | + | For example: <pre>/opt/rubies/2.5.0/lib/ruby/2.5.0/rubygems/ssl_certs/netfree.link</pre> | |
− | + | === For users with RVM (Ruby Version Manager): === | |
− | + | To find the path where the certificate should be inserted: <pre>rvm osx-ssl-certs status all</pre> | |
− | + | To update the certificates: <pre> rvm osx-ssl-certs update all </pre> | |
− | |||
− | + | ==Refresh the certificates== | |
− | + | ===In Windows:=== | |
+ | |||
+ | The following folder shows the c_rehash.r script run it: | ||
+ | |||
+ | <pre>C:\Ruby{The version number}{-x64 - If it's a 64-bit operating system}\ssl\certs</pre> | ||
+ | |||
+ | ===In Mac:=== | ||
+ | |||
+ | The following folder shows the c_rehash.r script run it: | ||
+ | |||
+ | <pre>/opt/rubies/{The version number}/ssl/ssl_certs</pre> | ||
+ | |||
+ | |||
+ | === For users with RVM (Ruby Version Manager): === | ||
+ | Run the following command: | ||
+ | <pre> rvm osx-ssl-certs update all </pre> |
גרסה מ־21:05, 20 באפריל 2020
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security certificate > Installation of certificate in ruby
Installation instructions
- Download the certificate of your Provider of NetFree from here http://netfree.link/netfree-ca.crt.
- Change the extension of the certificate to pem, now the filename will be netfree-ca.pem.
- Insert the certificate into the designated folder as described below.
- Refresh the certificate as detailed below
Note: When you install a different version of Ruby, If you do not use RVM, the certificate will need to be reinstalled.
The folder where the certificate should be inserted
There are two options, please report us at our support system which option has been useful to you, thank you.
In Windows:
C:\Ruby{The version number}{-x64 - If it's a 64-bit operating system}\sslFor example:
C:\Ruby25-x64\ssl
C:\Ruby{The version number}{-x64 - If it's a 64-bit operating system}\lib\ruby\{The version number}\rubygems\ssl_certs\netfree.linkFor example:
C:\Ruby25-x64\lib\ruby\2.5.0\rubygems\ssl_certs\netfree.link
In Mac:
/opt/rubies/{The version number}/sslFor example:
/opt/rubies/2.5.0/ssl
/opt/rubies//lib/ruby/{The version number}/rubygems/ssl_certs/netfree.linkFor example:
/opt/rubies/2.5.0/lib/ruby/2.5.0/rubygems/ssl_certs/netfree.link
For users with RVM (Ruby Version Manager):
To find the path where the certificate should be inserted:rvm osx-ssl-certs status allTo update the certificates:
rvm osx-ssl-certs update all
Refresh the certificates
In Windows:
The following folder shows the c_rehash.r script run it:
C:\Ruby{The version number}{-x64 - If it's a 64-bit operating system}\ssl\certs
In Mac:
The following folder shows the c_rehash.r script run it:
/opt/rubies/{The version number}/ssl/ssl_certs
For users with RVM (Ruby Version Manager):
Run the following command:
rvm osx-ssl-certs update all