Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:Apps
 - 
                        HD-Enabler:Wirecloud
 
Description
Created question in FIWARE Q/A platform on 09-04-2015 at 15:04
Please, ANSWER this question AT https://stackoverflow.com/questions/29540088/fix-load-unsafe-scripts-on-map-viewer-mashup-displaying-data-from-orion-instan
Question:
Fix "Load unsafe scripts" on Map viewer Mashup displaying data from Orion instance
Description:
When using Fi-ware map viewer mashup for displaying Points of interest from a orion instance I have to allow ALWAYS "Load unsafe scripts" option on my browser to display them on the map. Otherwise nothing is shown.
There is a way to configure properly context orion broker or Map viewer mashup?
I created a self-signed SSL certificate on the server where Orion runs with the following commands:
$ openssl genrsa -des3 -out server.key 1024
$ openssl req -new -key server.key -out server.csr
$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out    server.crt
and I run context Orion broker through https:
$contextBroker -https -key <path-to-server-key> cert <path-to-server-cert>
and then I can make requests through "https" but still having this warning. I guess that it is because my certificate is not a valid one? Maybe I have misconceptions? there is a way to fix it without this workaround?
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Assignee | Álvaro Arranz [ aarranz ] | 
| HD-Enabler | Wirecloud [ 10857 ] | |
| Description | 
                                                                 Created question in FIWARE Q/A platform on 09-04-2015 at 15:04 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/29540088/fix-load-unsafe-scripts-on-map-viewer-mashup-displaying-data-from-orion-instan +Question:+ Fix "Load unsafe scripts" on Map viewer Mashup displaying data from Orion instance +Description:+ When using Fi-ware map viewer mashup for displaying Points of interest from a orion instance I have to allow ALWAYS "Load unsafe scripts" option on my browser to display them on the map. Otherwise nothing is shown. There is a way to configure properly context orion broker or Map viewer mashup? I created a self-signed SSL certificate on the server where Orion runs with the following commands: $ openssl genrsa -des3 -out server.key 1024 $ openssl req -new -key server.key -out server.csr $ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt and I run context Orion broker through https: $contextBroker -https -key <path-to-server-key> cert <path-to-server-cert> and then I can make requests through "https" but still having this warning. I guess that it is because my certificate is not a valid one? Maybe I have misconceptions? there is a way to fix it without this workaround?  | 
                
                                                               Created question in FIWARE Q/A platform on 09-04-2015 at 15:04
 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/29540088/fix-load-unsafe-scripts-on-map-viewer-mashup-displaying-data-from-orion-instan +Question:+ Fix "Load unsafe scripts" on Map viewer Mashup displaying data from Orion instance +Description:+ When using Fi-ware map viewer mashup for displaying Points of interest from a orion instance I have to allow ALWAYS "Load unsafe scripts" option on my browser to display them on the map. Otherwise nothing is shown. There is a way to configure properly context orion broker or Map viewer mashup? I created a self-signed SSL certificate on the server where Orion runs with the following commands: $ openssl genrsa -des3 -out server.key 1024 $ openssl req -new -key server.key -out server.csr $ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt and I run context Orion broker through https: $contextBroker -https -key <path-to-server-key> cert <path-to-server-cert> and then I can make requests through "https" but still having this warning. I guess that it is because my certificate is not a valid one? Maybe I have misconceptions? there is a way to fix it without this workaround?  | 
                
| HD-Chapter | Apps [ 10836 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| Fix Version/s | 2021 [ 12600 ] | 
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
		    	
  | 
			2h 59m | 1 | Backlog Manager | 28/May/17 9:04 AM | |||||
		    	
  | 
			3h | 1 | Backlog Manager | 28/May/17 12:04 PM | |||||
		    	
  | 
			8h 13m | 1 | Fernando Lopez | 28/May/17 8:17 PM | 
2017-05-28 06:05|CREATED monitor | # answers= 1, accepted answer= True