This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base_url = "https://[ip_addy]:4443" | |
test = RestClient::Request.execute(method: :get, | |
url: "#{base_url}/login", | |
user: 'root', | |
password: 'password', | |
verify_ssl: FALSE, | |
headers: { | |
accept: :json | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apr 09, 2015 7:49:31 PM org.apache.catalina.core.StandardWrapperValve invoke | |
SEVERE: Servlet.service() for servlet [spring] in context with path [] threw exception | |
error="access_denied", error_description="Error requesting access token." | |
at org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport.retrieveToken(OAuth2AccessTokenSupport.java:144) | |
at org.springframework.security.oauth2.client.token.grant.client.ClientCredentialsAccessTokenProvider.obtainAccessToken(ClientCredentialsAccessTokenProvider.java:44) | |
at org.springframework.security.oauth2.client.token.AccessTokenProviderChain.obtainNewAccessTokenInternal(AccessTokenProviderChain.java:142) | |
at org.springframework.security.oauth2.client.token.AccessTokenProviderChain.obtainAccessToken(AccessTokenProviderChain.java:118) | |
at org.springframework.security.oauth2.client.OAuth2RestTemplate.acquireAccessToken(OAuth2RestTemplate.java:221) | |
at org.springframework.security.oauth2.client.OAuth2RestTemplate.getAccessToken(OAuth2RestTemplate.java: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bosh_stbcopzpq@a30077c1-3ac4-47c1-b32b-26a9f2d3fe7b:/var/vcap/sys/log/uaa$ curl -vvv http://uaa.bellevue.lab/oauth/token | |
* Hostname was NOT found in DNS cache | |
* Trying 10.4.44.38... | |
* connect to 10.4.44.38 port 80 failed: Connection refused | |
* Failed to connect to uaa.bellevue.lab port 80: Connection refused | |
* Closing connection 0 | |
curl: (7) Failed to connect to uaa.bellevue.lab port 80: Connection refused | |
bosh_stbcopzpq@a30077c1-3ac4-47c1-b32b-26a9f2d3fe7b:/var/vcap/sys/log/uaa$ curl -vvv https://uaa.bellevue.lab/oauth/token | |
* Hostname was NOT found in DNS cache | |
* Trying 10.4.44.38... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ CF_TRACE=true cf login | |
VERSION: | |
6.10.0-b78bf10 | |
API endpoint: https://api.bellevue.lab | |
REQUEST: [2015-04-09T15:00:38-07:00] | |
GET /v2/info HTTP/1.1 | |
Host: api.bellevue.lab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ad80ab9c-bb45-423b-85dd-cb22d2a0a42c:/var/vcap/sys/log/gorouter# cat gorouter.log | |
{"timestamp":1428608343.937921047,"process_id":1395,"source":"router","log_level":"info","message":"Waiting 5s before listening...","data":null} | |
{"timestamp":1428608348.938587904,"process_id":1395,"source":"router","log_level":"info","message":"Listening on [::]:80","data":null} | |
{"timestamp":1428608348.938791990,"process_id":1395,"source":"router.main","log_level":"info","message":"gorouter.started","data":null} | |
{"timestamp":1428608934.567254066,"process_id":1395,"source":"router.proxy.request-handler","log_level":"warn","message":"proxy.endpoint.failed","data":{"Error":"dial tcp 10.4.44.108:8080: connection refused","Host":"login.bellevue.lab","Path":"/","RemoteAddr":"10.4.44.38:47389","RouteEndpoint":{"ApplicationId":"","Addr":"10.4.44.108:8080","Tags":{"component":"login"}},"X-Forwarded-For":["10.13.37.114"],"X-Forwarded-Proto":["https"]}} | |
{"timestamp":1428608965.957106829,"process_id":1395,"source":"router.proxy.reques |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bosh_p9vbxbtls@ad80ab9c-bb45-423b-85dd-cb22d2a0a42c:/var/vcap/sys/log/gorouter$ cat gorouter.log | |
{"timestamp":1428608343.937921047,"process_id":1395,"source":"router","log_level":"info","message":"Waiting 5s before listening...","data":null} | |
{"timestamp":1428608348.938587904,"process_id":1395,"source":"router","log_level":"info","message":"Listening on [::]:80","data":null} | |
{"timestamp":1428608348.938791990,"process_id":1395,"source":"router.main","log_level":"info","message":"gorouter.started","data":null} | |
{"timestamp":1428608934.567254066,"process_id":1395,"source":"router.proxy.request-handler","log_level":"warn","message":"proxy.endpoint.failed","data":{"Error":"dial tcp 10.4.44.108:8080: connection refused","Host":"login.bellevue.lab","Path":"/","RemoteAddr":"10.4.44.38:47389","RouteEndpoint":{"ApplicationId":"","Addr":"10.4.44.108:8080","Tags":{"component":"login"}},"X-Forwarded-For":["10.13.37.114"],"X-Forwarded-Proto":["https"]}} | |
{"timestamp":1428608965.957106829,"process_id":1395,"source":"router.pr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
director_uuid: 60545ee8-58ae-4f14-9b74-4d240735da90 | |
name: bellevuecf | |
release: {name: cf, version: 205} | |
networks: | |
- name: cf1 | |
subnets: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compilation: | |
cloud_properties: | |
cpu: 2 | |
disk: 6144 | |
ram: 1024 | |
network: cf1 | |
reuse_compilation_vms: true | |
workers: 6 | |
director_uuid: 60545ee8-58ae-4f14-9b74-4d240735da90 | |
jobs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl genrsa -out cf.key 1024 | |
openssl req -new -key cf.key -out cf.csr | |
openssl x509 -req -in cf.csr -signkey cf.key -out cf.crt | |
cat cf.crt && cat cf.key |
OlderNewer