I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| 'use strict'; | |
| const crypto = require('crypto'); | |
| const ENCRYPTION_KEY = process.env.ENCRYPTION_KEY; // Must be 256 bytes (32 characters) | |
| const IV_LENGTH = 16; // For AES, this is always 16 | |
| function encrypt(text) { | |
| let iv = crypto.randomBytes(IV_LENGTH); | |
| let cipher = crypto.createCipheriv('aes-256-cbc', new Buffer(ENCRYPTION_KEY), iv); |
| import sun.misc.BASE64Decoder; | |
| import java.io.IOException; | |
| import java.security.KeyFactory; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.PublicKey; | |
| import java.security.Signature; | |
| import java.security.spec.InvalidKeySpecException; | |
| import java.security.spec.X509EncodedKeySpec; |
| var crypto = require('crypto'); | |
| // the Base64 encoded Google Play license key / Base64-encoded RSA public key from the Google Play Dev Console | |
| var publicKey = "ABCEDF1234...."; | |
| /** sample | |
| { | |
| "orderId":"12999763169054705758.1371079406387615", | |
| "packageName":"com.example.app", | |
| "productId":"exampleSku", |
| <?php | |
| /** | |
| * Функция склонения числительных в русском языке | |
| * | |
| * @param int $number Число которое нужно просклонять | |
| * @param array $titles Массив слов для склонения | |
| * @return string | |
| **/ | |
| $titles = array('котик', 'котика', 'котиков'); | |
| function declOfNum($number, $titles) |
| import android.graphics.Bitmap; | |
| import android.graphics.drawable.BitmapDrawable; | |
| import android.graphics.drawable.Drawable; | |
| import java.io.ByteArrayOutputStream; | |
| /** | |
| * Sketch Project Studio | |
| * Created by Angga on 12/04/2016 14.27. | |
| */ | |
| public class AppHelper { |
| long date = 1407869895000L; // August 12, 2014, 8:58PM | |
| // August 12, 2014 (default) | |
| DateUtils.formatDateTime(this, date, 0); | |
| // Aug 12, 2014 (default with abbreviated month) | |
| DateUtils.formatDateTime(this, date, DateUtils.FORMAT_ABBREV_MONTH); | |
| // August 12 (date without year) | |
| DateUtils.formatDateTime(this, date, DateUtils.FORMAT_NO_YEAR); |
| # | |
| # Name: nginx-tls.conf | |
| # Auth: Gavin Lloyd <gavinhungry@gmail.com> | |
| # Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
| # | |
| # Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
| # to SSL/TLS are omitted here. | |
| # | |
| # Example: https://www.ssllabs.com/ssltest/analyze.html?d=gav.sh | |
| # |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.