Generate your CSR This generates a unique private key, skip this if you already have one.
sudo openssl genrsa -out etc/ssl/yourdomain.com/yourdomain.com.key 1024
Next generate your CSR (Certificate Signing Request), required by GoDaddy:
package api | |
import ( | |
"net/http" | |
"github.com/gorilla/context" | |
"github.com/julienschmidt/httprouter" | |
) | |
// This rapper provides an easy interface to transform http handlers of |
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name yourdomain | |
ssl_certificate /etc/ssl/localcerts/yourdomain.crt; | |
ssl_certificate_key /etc/ssl/localcerts/yourdomain.key; | |
ssl_ecdh_curve prime256v1; | |
ssl_session_cache builtin:1000 shared:SSL:10m; |
file ..\*\\.(properties|config|conf|cnf|cfg) Java\sFile | |
include properties.syntax | |
file ..\*\\.(ya?ml|YML)$ YAML\sFile | |
include yaml.syntax |
package main | |
import ( | |
"io" | |
"log" | |
"net/http" | |
) | |
func main() { |
package main | |
import "fmt" | |
type Something struct {} | |
func (s Something) Test() bool { | |
return false | |
} | |
type SomethingInterface interface { |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"strings" | |
"unicode" | |
"golang.org/x/net/html" |
Generate your CSR This generates a unique private key, skip this if you already have one.
sudo openssl genrsa -out etc/ssl/yourdomain.com/yourdomain.com.key 1024
Next generate your CSR (Certificate Signing Request), required by GoDaddy:
##Given Apache 2 and MySQL are already installed.
#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules